Set up how calls are answered
phone_setup_assistantChoose how the business's numbers are answered; Conecto hears and speaks, you are the brain. answer_with webhook: each thing a caller says is POSTed to webhook_url (signed with the webhook_secret returned once: X-Conecto-Signature is sha256= the HMAC of the body) with the conversation so far, and you answer {"say": "...", "end_call": false} within about 2.5 seconds (the caller hears "one moment" after that; after 8 seconds the line takes a message instead). answer_with messages: the line takes the caller's message. Either way the whole call reaches you afterwards as a phone.message_left or phone.call_ended event. Only the fields you pass change; the first time pass greeting and timezone. Answered calls cost $0.25 per started minute; each call holds max_call_minutes × $0.25 while it runs. Costs $0.001 per call; nothing if it fails.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "phone_setup_assistant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | The line's name. | |
| hours | No | When to answer, in the timezone; empty answers around the clock. Outside these hours callers get a busy signal. | |
| voice | No | A voice id or name from phone_get_assistant. | |
| greeting | No | What callers hear right after Conecto's short notice, in the line's language, that the AI call is recorded and transcribed. It must say they reached an automated line or an AI, e.g. "Hi, you've reached Acme. This is our automated line: how can we help?" Taking messages, ask for their message, name and number. | |
| language | No | The language it speaks. | |
| timezone | No | IANA time zone of the business, e.g. America/New_York. Needed the first time. | |
| answering | No | false pauses answering; true resumes it. | |
| answer_with | No | messages (the default) or webhook. | |
| cant_answer | No | What the line says when your webhook did not answer in time. | |
| message_ack | No | Taking a message: what the line says after each thing the caller says. | |
| webhook_url | No | Your https endpoint for each turn. | |
| open_tickets | No | messages: each message left opens a help desk ticket with the transcript (or joins the open one the caller has); calls: every call the caller spoke on. $0.01 per ticket opened. Default off. | |
| rotate_secret | No | Make a new webhook_secret (the old one stops working). | |
| max_call_minutes | No | Calls end after this long (default 5). |