Assign conversation
Assigns a conversation to a user or to a team.
MCP tool trengo_write → assign_conversation
write Confirm
Uses the Assign button of the conversation. Pass exactly one of user_id or team_id, both from list_assignees. The assignee sees the conversation in their inbox. A conversation that another person already took is returned with its current assignee and not changed. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| conversation_id integer required | integer | Conversation ID from list_conversations or search_conversations. |
| user_id integer | integer | User ID from list_assignees. Use this or team_id. |
| team_id integer | integer | Team ID from list_assignees. Use this or user_id. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "trengo_write",
"arguments": {
"operation": "assign_conversation",
"arguments": {
"conversation_id": 5120344,
"user_id": 4012
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"conversation_id": 5120344,
"assigned_to": {
"type": "user",
"id": 4012,
"name": "Sam de Boer"
},
"assigned_at": "2026-10-20T07:06:00Z"
},
"isError": false
}