List assignment rules
Assignment Rules in order, with their conditions and the agent or group they assign to.
MCP tool freshchat_read → list_assignment_rules
Returns the rules from Admin > Assignment Rules in the order Freshchat applies them: the highest rule wins when several match, and rules run before IntelliAssign. Each rule shows its If conditions (message content, URL, source, visitor attributes, business hours or browser language) and its Then action. Use it to see what a rule already assigns before you route by hand. It needs an Admin or Account Owner.
Parameters
No parameters.
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "freshchat_read",
"arguments": {
"operation": "list_assignment_rules",
"arguments": {}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"rules": [
{
"position": 1,
"name": "Refunds and payments",
"enabled": true,
"conditions": [
"Message contains \"refund\" or \"payment\""
],
"assign_to": {
"group": "Billing"
}
},
{
"position": 2,
"name": "French visitors",
"enabled": true,
"conditions": [
"Browser language is French"
],
"assign_to": {
"group": "Support FR"
}
}
]
},
"isError": false
}