Skip to main content

Admin Purge Room

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

DESTRUCTIVEwave.wave_admin_purge_room
  • Contract tier: agent_ready
  • Risk: destructive
  • Catalog version: 2026-07-12.1
  • Descriptor hash: 419ff89fb59002c89a3ab3c36601b9a08777050f3b6fcdaf4b4ca7003f670f36

Purge a room from Synapse after shutdown/deletion. Requires destructive confirmation.

Request Body

{
"jsonrpc": "2.0",
"id": "wave-wave-admin-purge-room-example",
"method": "tools/call",
"params": {
"name": "wave.wave_admin_purge_room",
"arguments": {
"roomId": "roomId_123",
"confirm": false,
"confirm_phrase": "confirm_phrase_example"
}
}
}

Arguments Schema

{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"roomId",
"confirm",
"confirm_phrase"
],
"properties": {
"roomId": {
"type": "string",
"description": "Full Matrix room ID to inspect or operate on."
},
"confirm": {
"type": "boolean",
"default": false,
"description": "Must be true to authorize room purge."
},
"confirm_phrase": {
"type": "string",
"default": "",
"description": "Must exactly equal \"WAVE ADMIN CONFIRM\" to authorize room purge."
}
},
"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-admin-purge-room-example",
"method": "tools/call",
"params": {
"name": "wave.wave_admin_purge_room",
"arguments": {
"roomId": "roomId_123",
"confirm": false,
"confirm_phrase": "confirm_phrase_example"
}
}
}'

Example Responses

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