Assign conversation
Assign a conversation to an agent or a team, or remove its assignee.
MCP tool chatwoot_write → assign_conversation
write
Sets the Assignee, the Team or both. Pass agent_id from list_agents, team_id from list_teams, or unassign true to remove the assignee. Assigning does not change the status. assign_conversation runs without asking first: it reaches no customer and is undone with one call.
Parameters
| Name | Type | Description |
|---|---|---|
| conversation_id integer required | integer | conversation_id from list_conversations. It is the number in the conversation URL. |
| agent_id integer | integer | agent_id from list_agents. |
| team_id integer | integer | team_id from list_teams. |
| unassign boolean | boolean | true removes the assignee. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "chatwoot_write",
"arguments": {
"operation": "assign_conversation",
"arguments": {
"conversation_id": 1842,
"team_id": 4
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"conversation_id": 1842,
"assignee": null,
"team": {
"team_id": 4,
"name": "Billing"
}
},
"isError": false
}