send_message
Send messages to a Matrix room with support for plain text, HTML, or Markdown formatting, and optionally reply to existing messages.
Instructions
Send a message to a Matrix room. Supports plain text, HTML, and Markdown formats. Can reply to a specific message.
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>",
"text": "<text>"
},
"name": "send_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| room_id | Yes | Room ID (e.g. !abc123:matrix.org) or alias (#room:matrix.org) | |
| text | Yes | Message body | |
| format | No | Message format: 'text' (default), 'html', or 'markdown' | text |
| reply_to | No | Event ID to reply to (sets m.relates_to / m.in_reply_to) |