Create an Errands call
create_call_taskPlaces or schedules an Errands call from a brief. The price comes from the rate sheet. When the number belongs to a Widely account, the default is their Widely app. Set native true only when the caller asked for the mobile or landline network; that price is the network rate. A future schedule_at waits until then. There is no global calling-hours window. Fill every field you can; call describe_errand_template for the fields and examples. Emergency and premium-rate numbers are refused. A marketing brief is refused. The seat needs the current Errands terms. Plus plan. A bad brief lists every missing and invalid field at once. The assistant introduces itself with the name set in the user's Widely AI assistant settings (Assistant's name).
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": "create_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. |