Chat tools
Read and post in Chat discussions, react to messages, and start discussions about posts, tasks, docs, and canvases.
Work in Chat
Chat tools read and post in the rooms and discussions the signed-in person can open. Reads need chat:read and writes need chat:write. Message reactions also need reactions:read or reactions:write. The tool reference lists each Chat tool.
Discuss an item
start_object_discussion works like Discuss in Chat. The discussion opens in the item's project room, or in the Workspace room for an item outside a project, and the item stays linked as its origin.
JSON
{
"name": "start_object_discussion",
"arguments": {
"objectType": "task",
"objectId": "task_id",
"content": "Is the login fix in build 214?"
}
}Fix a failed Chat call
- Not found: the room, discussion, message, or item is outside what the person can open, or a discussion or message ID belongs to a different room than the roomId you passed.
- Chat is not enabled for this workspace: an admin turned Chat off. Every Chat tool fails until it is turned back on.
- Permission errors: the credential lacks a chat or reactions scope, the person is a viewer, or the action is limited to the author or to owners and admins, such as pinning.
- Sending too quickly: each person can send 30 messages a minute. Wait and retry with the same idempotencyKey so a message is not posted twice.
The same rules apply in the Chat API.