matrix_send_message
Send plaintext messages to a Matrix room. Preview with dry_run and use idempotency_key to avoid duplicate sends on retries.
Instructions
Send a plaintext message to a room. dry_run=true previews without sending. idempotency_key is forwarded as the Matrix transaction ID — pass a stable value on retry to avoid duplicate sends.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"room_id": "<room_id>",
"body": "<body>"
},
"name": "matrix_send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| tenant | No | ||
| dry_run | No | ||
| room_id | Yes | ||
| idempotency_key | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||