Skip to main content

Export Room History

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

READwave.wave_export_room_history
  • Contract tier: agent_ready
  • Risk: read
  • Catalog version: 2026-07-12.1
  • Descriptor hash: 0d65168d027181af0fa956e58f1d9aff73b966a5402ab39d172fcddb22488e65

Read one paginated page of Wave room history for ingestion workflows. Page with nextFrom; encrypted events include decrypted content or key-state errors.

Request Body

{
"jsonrpc": "2.0",
"id": "wave-wave-export-room-history-example",
"method": "tools/call",
"params": {
"name": "wave.wave_export_room_history",
"arguments": {
"roomId": "roomId_123",
"limit": 1,
"direction": "b",
"from": "from_example",
"actor": "user"
}
}
}

Arguments Schema

{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"roomId",
"limit",
"direction"
],
"properties": {
"from": {
"type": "string",
"description": "Pagination token from a previous page."
},
"actor": {
"enum": [
"user",
"bot"
],
"type": "string",
"description": "Wave messaging identity to use: user or bot."
},
"limit": {
"type": "integer",
"default": 100,
"maximum": 100,
"description": "Maximum events to return in this page. Page repeatedly using nextFrom.",
"exclusiveMinimum": 0
},
"roomId": {
"type": "string",
"description": "Matrix room ID to export history from."
},
"direction": {
"enum": [
"b",
"f"
],
"type": "string",
"default": "b",
"description": "Matrix /messages direction."
}
},
"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-export-room-history-example",
"method": "tools/call",
"params": {
"name": "wave.wave_export_room_history",
"arguments": {
"roomId": "roomId_123",
"limit": 1,
"direction": "b",
"from": "from_example",
"actor": "user"
}
}
}'

Example Responses

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