chatter
chatterCreate draft messages, internal notes, activities, or direct messages for Odoo records; get an approval link to save them in Odoo.
Instructions
Write in a record's chatter. kind=message: a message to its followers, who are notified (by email too); it is always a draft the user sends from Odoo, so give them the link. kind=note: an internal note. kind=activity: a to-do with a due date; assigned to someone else it notifies them, so it is a draft too. kind=direct: a private message to a colleague (user_id) in Discuss, always a draft. Every change is a draft: it is saved when the user opens the returned link in Odoo and approves it. Give them the link. To read a chatter: odoo_browse with record= and thread=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": {
"kind": "<kind>"
},
"name": "chatter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The record's id (not for direct). | |
| body | No | message / note / direct: plain text; line breaks kept. activity: optional details. | |
| kind | Yes | message, note, activity or direct. | |
| draft | No | Notes and own activities: true returns a link to approve; false writes now. | |
| model | No | The record's model, e.g. "res.partner" (not for direct). | |
| reason | No | With draft=false: why it is right without approval. | |
| summary | No | activity: short title. | |
| user_id | No | activity: assigned user (default: the user). direct: the colleague who gets the message. | |
| partner_ids | No | message: contacts to notify besides the followers. | |
| activity_type | No | activity: its type name, e.g. "Call". Default: To-Do. | |
| date_deadline | No | activity: YYYY-MM-DD. Default: today. |