Quote a callback call
voixcall_quote_callUse this when the user wants to call a phone number through VoixCall: it prices the call and returns a quote (single use, valid 120 seconds). Tell the user the number that will ring (their own verified mobile), the caller ID the other party will see, the rate per minute and the longest call the balance allows, then call voixcall_place_call with the quote id once they agree. Do not use for rates alone (voixcall_get_rate), for the balance, or to place a call without a fresh quote.
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": {
"to": "<to>"
},
"name": "voixcall_quote_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | The destination number with its country code (E.164, for example +442071234567). | |
| record | No | Record the call. A recording notice plays to the other party first. Default false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| to | Yes | Destination, E.164. | |
| object | Yes | Always "quote". | |
| record | Yes | ||
| spoken | Yes | One sentence to say to the user before placing the call. | |
| currency | Yes | ||
| livemode | Yes | ||
| provider | Yes | ||
| rate_ring | Yes | Per-minute rate for ringing your own number, decimal string. | |
| expires_at | Yes | The quote is single use and must be placed before this time. | |
| ring_number | Yes | Your verified number that will ring first, E.164. | |
| resolved_name | Yes | Contact name matching the destination, when one is saved. | |
| caller_id_note | Yes | Why your own number is not shown to the destination, when it is not. | |
| ring_caller_id | Yes | The VoixCall number shown on your phone when it rings. | |
| leg_b_caller_id | Yes | The caller ID the destination will see. | |
| rate_per_minute | Yes | What the bridged call costs per minute: both legs together. | |
| rate_destination | Yes | Per-minute rate for the destination leg, decimal string. | |
| recording_notice | Yes | true when a recording notice will play to the destination. | |
| max_duration_seconds | Yes | The longest bridge the balance allows; the carrier enforces it. | |
| billing_increment_seconds | Yes |