chat_send
Sends a message on behalf of the token owner to a chat (a task's chat ID is the task ID) or, with userID, a direct message to an employee; replyMessageID quotes a message that other messages already follow. Intended for blocking questions, replies to messages addressed to the token owner and messages the user asks for - not for status updates, summaries or links to created items. Messages newer than the last read (the after cursor) may already hold the same question or its answer. Returns chatID, the message and an after cursor; the message can be edited or deleted within 60 minutes.
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": {
"text": "<text>"
},
"name": "chat_send"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Message in the language of the workspace data: Markdown without headings, tables or images; bare URLs become links. Tasks and features go in as their link value, employees as their mention token where addressed; a direct chat has no mentions | |
| chatID | No | Chat ID; for a task's chat - the task ID, for the company's general chat - the company ID | |
| userID | No | Employee ID for a direct message, instead of chatID | |
| attachments | No | Up to 5 attachments: each is an uploaded file's fid or name with dataBase64 | |
| idempotencyKey | No | Retry-safety key: one key per chat yields one message | |
| replyMessageID | No | ID of a message in this chat to quote, only when it is no longer the last one; a reply to the last message has no quote |