Skip to main content

Broadcast Message

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

WRITEwave.wave_broadcast_message
  • Contract tier: agent_ready
  • Risk: write
  • Catalog version: 2026-07-12.1
  • Descriptor hash: dfb028e20183c73a4bd816611fb95a541378f7f4e8d4014334d6a442280cfd77

Send the same message to multiple Wave rooms. Defaults to dry-run and requires broadcast confirmation to send.

Request Body

{
"jsonrpc": "2.0",
"id": "wave-wave-broadcast-message-example",
"method": "tools/call",
"params": {
"name": "wave.wave_broadcast_message",
"arguments": {
"roomIds": [],
"body": "body_example",
"dryRun": false,
"confirm": false,
"confirm_phrase": "confirm_phrase_example",
"actor": "user"
}
}
}

Arguments Schema

{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"roomIds",
"body",
"dryRun",
"confirm",
"confirm_phrase"
],
"properties": {
"body": {
"type": "string",
"minLength": 1,
"description": "Plain-text broadcast message body."
},
"actor": {
"enum": [
"user",
"bot"
],
"type": "string",
"description": "Wave messaging identity to use: user or bot."
},
"dryRun": {
"type": "boolean",
"default": true,
"description": "Return targets and a preview without sending when true."
},
"confirm": {
"type": "boolean",
"default": false,
"description": "Must be true when dryRun is false."
},
"roomIds": {
"type": "array",
"items": {
"type": "string",
"description": "Matrix room ID to receive the broadcast."
},
"minItems": 1,
"description": "Matrix rooms to target, capped by server configuration."
},
"confirm_phrase": {
"type": "string",
"default": "",
"description": "Must exactly equal \"WAVE BROADCAST CONFIRM\" when dryRun is false."
}
},
"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-broadcast-message-example",
"method": "tools/call",
"params": {
"name": "wave.wave_broadcast_message",
"arguments": {
"roomIds": [],
"body": "body_example",
"dryRun": false,
"confirm": false,
"confirm_phrase": "confirm_phrase_example",
"actor": "user"
}
}
}'

Example Responses

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