cdr_summary
Analyze call volume and success-code distribution over a specified time window, grouped by hour or day, to monitor SIP server performance.
Instructions
Volume and success-code breakdown over a window.
Parameters
date_from, date_to:
ISO timestamps bounding the report window.
group_by:
hour or day. Grouping is computed in Python so it works
across sqlite / mysql / postgres without backend-specific SQL.
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": {
"date_from": "<date_from>",
"date_to": "<date_to>"
},
"name": "cdr_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date_from | Yes | ||
| date_to | Yes | ||
| group_by | No | hour |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||