Get monthly spending cap
get_spend_capRead the customer's monthly spending cap, if one is set, and what has been spent this calendar month in the account country time zone (Europe/Prague for Czech accounts) on calls, SMS and the voice agent. Returns enabled, capHal and warnShare (null without a cap), inboundAboveCap, month, monthSpendHal (counted on every account, also without a cap), remainingHal and reached. Number fees, the monthly plan and Done for you setup orders are not counted. Once the cap is reached, new outbound calls and SMS fail with spend_cap_reached and, unless inboundAboveCap is true, inbound calls to the account's agents end after one sentence; calls already in progress still finish and can push the total slightly over. Same data as GET /v1/account/spend-cap (response schema in /openapi.json).
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_spend_cap"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||