Send a chat message
chat_sendPosts a new text message to a flat chat as the signed-in member, notifying other members and anyone mentioned; use it to share updates or ask questions, not to edit existing messages.
Instructions
Posts a new text message to the flat chat as the signed-in member; use chat_edit to change a message you already sent. Notifies the other members, and anyone mentioned gets a separate mention notification, so confirm the wording with the user first. Text only, no images; a blank body gives empty_message. A reply target that is missing or deleted gives reply_to_not_found. Each call creates a new message, so do not retry blindly. Returns the created message, the mentioned member ids and a warning that is null unless the push delivery could not be confirmed.
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": {
"body": "<body>"
},
"name": "chat_send"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Message text, trimmed, up to 4000 characters. Write "@Name" with the exact member name to mention someone. | |
| wgCode | No | Share code of the flat (code from wg_list). Leave it out when the account belongs to one flat. | |
| mentionMemberIds | No | Member ids to mention, from members_list. A member is only mentioned if body also contains their "@Name"; you cannot mention yourself. | |
| replyToMessageId | No | Id of an existing, not deleted message in this flat to reply to, from chat_messages. |