get_conversation_metrics
Retrieve open, unattended, and unassigned conversation counts for an account or specific agent to monitor workload and identify conversations needing attention.
Instructions
Get conversation metrics for the account or a specific agent (via API v2). Returns open, unattended, and unassigned conversation counts.
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": {
"type": "<type>"
},
"name": "get_conversation_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Metric scope | |
| user_id | No | Agent user ID (required when type is "agent") | |
| account_id | No | Chatwoot account ID to use. If omitted, uses the default account from CHATWOOT_ACCOUNT_ID env var. |