Skip to main content

Redact Event

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

DESTRUCTIVEwave.wave_redact_event
  • Contract tier: agent_ready
  • Risk: destructive
  • Catalog version: 2026-07-12.1
  • Descriptor hash: 0dd464ebe7e33bddad6c8a94604b2726c7173559a7de24cfdb710eb4bc9b81f2

Redact a Matrix event as the selected user or bot. Requires destructive confirmation.

Request Body

{
"jsonrpc": "2.0",
"id": "wave-wave-redact-event-example",
"method": "tools/call",
"params": {
"name": "wave.wave_redact_event",
"arguments": {
"roomId": "roomId_123",
"eventId": "eventId_123",
"confirm": false,
"confirm_phrase": "confirm_phrase_example",
"actor": "user",
"reason": "reason_example"
}
}
}

Arguments Schema

{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"roomId",
"eventId",
"confirm",
"confirm_phrase"
],
"properties": {
"actor": {
"enum": [
"user",
"bot"
],
"type": "string",
"description": "Wave messaging identity to use: user or bot."
},
"reason": {
"type": "string",
"description": "Optional public redaction reason."
},
"roomId": {
"type": "string",
"description": "Matrix room ID containing the event."
},
"confirm": {
"type": "boolean",
"default": false,
"description": "Must be true to authorize redaction."
},
"eventId": {
"type": "string",
"description": "Matrix event ID to redact."
},
"confirm_phrase": {
"type": "string",
"default": "",
"description": "Must exactly equal \"WAVE ADMIN CONFIRM\" to authorize redaction."
}
},
"additionalProperties": false
}

Output Schema

{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"ok",
"data",
"error",
"meta"
],
"properties": {
"ok": {
"type": "boolean",
"description": "Whether the Wave MCP operation completed successfully."
},
"data": {
"anyOf": [
{},
{
"type": "null"
}
],
"description": "Tool-specific Wave, Matrix, Synapse, or local navigation result."
},
"meta": {
"type": "object",
"description": "Safe execution and actor metadata without credential values.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"error": {
"anyOf": [
{
"type": "object",
"required": [
"code",
"message"
],
"properties": {
"code": {
"type": "string",
"description": "Stable machine-readable error classification."
},
"details": {
"description": "Optional safe error context without credentials or request bodies."
},
"message": {
"type": "string",
"description": "Safe actionable error message."
}
},
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "Safe error details when ok is false."
}
},
"additionalProperties": false
}

Code Examples

curl -X POST 'https://portal.madpanda3d.com/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "wave-wave-redact-event-example",
"method": "tools/call",
"params": {
"name": "wave.wave_redact_event",
"arguments": {
"roomId": "roomId_123",
"eventId": "eventId_123",
"confirm": false,
"confirm_phrase": "confirm_phrase_example",
"actor": "user",
"reason": "reason_example"
}
}
}'

Example Responses

{
"ok": true,
"message": "Tool wave.wave_redact_event executed successfully.",
"note": "Response shape varies by MCP tool. Inspect live responses for exact fields."
}