Send Chat Message
send_chat_messageSends a text message or file to a specified chat after confirmation, enabling agents to deliver updates or share documents directly.
Instructions
Send a message to a chat: either a text message ({"text": "..."}) or a file ({"file_upload_id": "..."} from create_chat_file_upload_link). Mutation: requires confirm=True.
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": {
"chat_id": "<chat_id>",
"body": "<body>"
},
"name": "send_chat_message"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| chat_id | Yes | ||
| confirm | No |