get_sms_usage
Retrieves per-number SMS usage including sends, delivered, failed, credits charged, and last-sent time. Compare how workspace numbers perform or check prior use before releasing one.
Instructions
Get per-number SMS usage for the company: sends, delivered, failed, credits charged, last-sent time, and test-send count for each phone number the workspace has sent from. Use it to compare how the workspace's numbers are performing or to check what a number was used for before releasing it.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_sms_usage"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| companyId | No | Company ID. If not provided, uses the currently selected company. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Additional context about the result. | |
| items | No | Fallback array wrapper used only when a tool returns a bare array. | |
| usage | No | Per-number SMS usage entries: fromNumber (E.164), totalSends, delivered, failed, creditsCharged, lastSentAt, testSends. Totals exclude test sends; test sends are counted separately. | |
| value | No | Fallback object wrapper used only when a tool returns a non-object value. | |
| message | No | Human-readable status, confirmation, or next-step message. | |
| success | No | Whether the Sequenzy operation succeeded. | |
| warnings | No | Non-fatal cautions about content, permissions, or follow-up actions. |