Make a test call to an agent
test_callHave this account's agent call a number right now, to check it actually works end to end. This call is BILLED exactly like a regular outbound agent call (no discount), it is just capped at a strict 3 calls per ACCOUNT per 24 hours across all agents (far stricter than regular calls) - every dialed attempt counts, including an unanswered one (which is not charged). The response carries testCalls (max, remaining, resetAt) and get_account shows the same before you call; when it runs out this fails with rate_limited, the message says when the next test call is available, and nothing is charged. Use this for occasional verification, not for regular dialing - for that use make_call/POST /v1/calls, which has no such cap. With a monthly spending cap set by the customer (see get_spend_cap) and reached this month, this fails with spend_cap_reached (HTTP 402): nothing is charged and retrying will not help, so tell the customer, who can raise or remove the cap (set_spend_cap, clear_spend_cap) or wait for the next month. Same data as POST /v1/agents/{id}/test-call (response schema in /openapi.json).
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": {
"agentId": "<agentId>",
"to": "<to>"
},
"name": "test_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | E.164 destination to call, e.g. +420700123456. | |
| agentId | Yes | Id of the agent that should make the call, from list_agents. Looks like ag_9f3a2b7c4d1e. |