Get usage for one line
get_number_usageThis month's calls and minutes for one phone line, broken down by call result.
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": {
"phone_number_id": "<phone_number_id>"
},
"name": "get_number_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspace_id | No | Leave empty to act in the connected organization, which is the usual case. Set it only when the user names another store or location: its id from list_workspaces or create_workspace. | |
| phone_number_id | Yes | The line's id from list_phone_numbers (a small number like 42, not the phone number itself) |