get_outgoing_messages_report
Retrieves outgoing message counts grouped by agent, team, inbox, or label for a specified time range, helping analyze message volume and reporting.
Instructions
Get outgoing messages count grouped by entity (via API v2). Shows message volume per agent, team, inbox, or label.
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": {
"group_by": "<group_by>"
},
"name": "get_outgoing_messages_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | Start timestamp (Unix timestamp) | |
| until | No | End timestamp (Unix timestamp) | |
| group_by | Yes | Entity to group messages by | |
| account_id | No | Chatwoot account ID to use. If omitted, uses the default account from CHATWOOT_ACCOUNT_ID env var. |