Place an outbound call (click-to-call)
make_callInitiates outbound calls and connects the callee to an extension, queue, or IVR; use it for click-to-call and keep the returned callId to transfer or hang up.
Instructions
POST /v1/calls (permission pbx:write). connectTo.type=extension: rings the agent first, then dials to and bridges (click-to-call). queue: dials to then connects to a queue. ivr: dials to then connects to an IVR menu. Returns { callId, status: 'initiated', … }; keep callId to transfer/hang up.
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>",
"connectTo": "<connectTo>"
},
"name": "make_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | External number to call, e.g. 0612345678 | |
| timeout | No | Ring time in seconds (5–120, default 30) | |
| callerId | No | Number presented to the callee. Priority: trunk-enforced number > callerId > extension's presented number. Must belong to the line. | |
| connectTo | Yes |