set_conversation_custom_attributes
Add or update custom attributes on a Chatwoot conversation to tag it with metadata such as order IDs, categories, and priority tiers.
Instructions
Set custom attributes on a conversation. Useful for tagging conversations with metadata like order IDs, categories, etc.
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": {
"conversation_id": "<conversation_id>",
"custom_attributes": "<custom_attributes>"
},
"name": "set_conversation_custom_attributes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | No | Chatwoot account ID to use. If omitted, uses the default account from CHATWOOT_ACCOUNT_ID env var. | |
| conversation_id | Yes | The conversation ID | |
| custom_attributes | Yes | Custom attributes as key-value pairs (e.g., {"order_id": "12345", "priority_tier": "gold"}) |