Quote an Errands call
quote_call_taskRead-only price check for an Errands brief. Returns the per-minute price from the call rate sheet (including the AI minute), the caller ID that would be shown, and the most the call could cost at max_call_minutes. The default price for a Widely account's number is the Widely call. Set native true only to price the mobile or landline rate. It does not dial, schedule, save, hold or charge anything. It returns 'refused' when there is no rate, the number is emergency or premium-rate, or the brief is marketing. It returns 'consent_required' if the user has not accepted the Errands terms. A bad brief lists every missing and invalid field at once.
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": {
"destination": "<destination>",
"callee_name": "<callee_name>",
"goal": "<goal>",
"on_behalf_of": "<on_behalf_of>",
"purpose_category": "<purpose_category>",
"success_criteria": "<success_criteria>"
},
"name": "quote_call_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | Yes | The outcome you want, in one or two sentences. | |
| intent | No | Optional. Why you are calling, in one sentence. If you leave it out, the opening line is used, then who the call is for. | |
| limits | No | ||
| native | No | Default false. When this number belongs to a Widely account, the call rings their Widely app. Set true only when the caller asked for the mobile or landline network instead. | |
| callback | No | ||
| language | No | BCP-47 such as en-GB or he-IL, or auto-from-seat. | |
| forbidden | No | Things the assistant must not say or agree to. | |
| ivr_hints | No | Phone menu hints, e.g. 'choose imports'. | |
| voicemail | No | On voicemail: leave_message (default), hang_up_and_retry (uses limits.retry), or hang_up. | leave_message |
| escalation | No | ||
| if_unknown | No | What to do when asked something the brief does not cover. | say_will_check_back |
| time_limit | No | Optional. Minutes the assistant has for this call. If you leave it out, limits.max_call_minutes is used when that is set, otherwise 5. | |
| callee_name | Yes | Who you are calling, e.g. 'FedEx UK Import Clearance' or 'Dr Cohen's clinic'. | |
| destination | Yes | Number to call, E.164 (+44…, +972…, +1…) or local. Emergency and premium-rate numbers are refused. | |
| schedule_at | No | When to call, ISO date-time, at most 14 days ahead. Omit it to call now. | |
| time_window | No | Optional calling window, at least 10 minutes long and within 14 days. The call is placed inside it. | |
| connect_user | No | Omit or false and the assistant handles the call alone. true: at the end the assistant asks the callee to hold, your phones ring, and the assistant leaves. "monitor": your phones ring when the callee answers so you can listen. You stay silent. Press * to take over. Press # to cancel the call. Hang up to stop listening; the assistant stays on the call. | |
| on_behalf_of | Yes | Who the call is for. person is required. | |
| opening_line | No | Optional. What to say first, after the assistant introduces itself and plays the mandatory notice. | |
| facts_to_give | No | Facts the assistant may give. Card numbers, CVVs, PINs and passwords are refused. | |
| assistant_name | No | Optional. The name the assistant uses on this call instead of the AI assistant settings name. | |
| save_as_default | No | With assistant_name, also save it as the default name in Widely AI assistant settings. | |
| client_reference | No | Your own reference. | |
| facts_to_collect | No | Questions to ask and the information to bring back. | |
| purpose_category | Yes | Kind of call. Marketing, sales, surveys, debt collection, political and fundraising calls are refused. | |
| success_criteria | Yes | How to tell the call worked, e.g. 'they confirm the delivery date'. | |
| voicemail_message | No | Optional. If absent, the assistant leaves a short message from the goal and on_behalf_of, with no sensitive facts. | |
| callee_is_business | No | Optional. True when the callee is a business. | |
| caller_identity_id | No | Optional. You may set it. If you omit it, Widely picks the caller ID. If you set it, it must be an identity_id from list_identities, one of the user's own. Never invent another number. | |
| allowed_commitments | No | The only things the assistant may agree to, e.g. 'accept any slot Tue–Thu after 14:00'. For anything else it says it will check and come back, and lists it in the report. Payments, contracts and cancellations are never allowed. |