List users and teams
The users and teams a conversation can be assigned to.
MCP tool trengo_read → list_assignees
read
Returns the users and the teams of your Trengo with their IDs. Use user_id or team_id in assign_conversation. What your own user can see in the Assign menu is what comes back.
Parameters
No parameters.
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "trengo_read",
"arguments": {
"operation": "list_assignees",
"arguments": {}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"users": [
{
"user_id": 4012,
"name": "Sam de Boer"
},
{
"user_id": 4015,
"name": "Maya Okafor"
}
],
"teams": [
{
"team_id": 88,
"name": "Billing team"
},
{
"team_id": 91,
"name": "Tech team"
}
]
},
"isError": false
}