Place a phone call
place_callDials a real phone number through a voice agent, returning a cost and details preview with a confirm_token; send the token only after the user approves the call.
Instructions
Have an agent phone a number now. Rings a real phone and uses credits. Needs the user's confirmation: the first call returns a preview (recipient, from number, agent, credits) and a confirm_token. Only call numbers the user gave you.
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": {
"agent_id": "<agent_id>",
"to": "<to>"
},
"name": "place_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | E.164 number with country code, e.g. +919876543210. | |
| purpose | No | ||
| agent_id | Yes | ||
| variables | No | Values for {placeholders} in the agent's prompt (at most 30). | |
| confirm_token | No | From the preview; send only after the user agreed. | |
| from_number_id | No | Id of one of the account's numbers (list_numbers); omitted = the default number. |