chatter_post
Post a chatter message on any Odoo record. Use preview approval to confirm before sending, or enable direct mode to post immediately.
Instructions
Post a chatter message on a mail.thread record. Default mode requires an approval token returned from a preview call; set MCP_CHATTER_DIRECT=1 to bypass and post immediately.
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": {
"model": "<model>",
"record_id": "<record_id>",
"body": "<body>"
},
"name": "chatter_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | ||
| model | Yes | ||
| confirm | No | ||
| approval | No | ||
| instance | No | ||
| record_id | Yes | ||
| partner_ids | No | ||
| message_type | No | comment | |
| subtype_xmlid | No | ||
| attachment_ids | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |