Skip to main content

Create Room

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

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

Create a Wave room as the selected user or bot, optionally encrypted by default.

Request Body

{
"jsonrpc": "2.0",
"id": "wave-wave-create-room-example",
"method": "tools/call",
"params": {
"name": "wave.wave_create_room",
"arguments": {
"invite": [],
"isDirect": false,
"encrypted": false,
"name": "name_example",
"actor": "user",
"topic": "topic_example"
}
}
}

Arguments Schema

{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"invite",
"isDirect",
"encrypted"
],
"properties": {
"name": {
"type": "string",
"description": "Optional human-readable room name."
},
"actor": {
"enum": [
"user",
"bot"
],
"type": "string",
"description": "Wave messaging identity to use: user or bot."
},
"topic": {
"type": "string",
"description": "Optional room topic."
},
"invite": {
"type": "array",
"items": {
"type": "string",
"description": "Matrix identifier."
},
"default": [],
"description": "Matrix user IDs to invite when the room is created."
},
"isDirect": {
"type": "boolean",
"default": false,
"description": "Mark the new room as a direct-message room."
},
"encrypted": {
"type": "boolean",
"default": true,
"description": "Enable Matrix Megolm encryption in the new room; defaults to true."
}
},
"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-create-room-example",
"method": "tools/call",
"params": {
"name": "wave.wave_create_room",
"arguments": {
"invite": [],
"isDirect": false,
"encrypted": false,
"name": "name_example",
"actor": "user",
"topic": "topic_example"
}
}
}'

Example Responses

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