Call Back a Caller
call_backUse this when the user wants to return a call from someone who called them in the last 30 days. Pass callId (from missed_calls, list_calls or get_call: a call that came in) or the caller's phoneNumber in full international form, and reason (up to 300 characters), what the receptionist says the call is for; context (up to 700) holds details it uses without reading them out. Call it FIRST without confirmed: it answers confirmation_required with who, the number and why, plus a confirmKey. Read that to the user and call again with the same arguments, confirmed:true and that confirmKey only after they say yes; then follow the callId with get_call_status. A number that did not call in the last 30 days (or was screened as spam) returns not_a_recent_caller, and a call OsmO placed returns not_inbound; nothing is dialled. Not for a new number, a business search, a call later, or an emergency (tell the user to call their local emergency number).
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": {
"reason": "<reason>"
},
"name": "call_back"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| callId | No | A call that came in: a callId from missed_calls, list_calls or get_call. | |
| reason | Yes | What the call back is for; the receptionist says it in its opening line, e.g. "returning your call about Tuesday". At most 300 characters. Longer text is refused, never cut. | |
| context | No | Details the receptionist uses during the call but does not read out. At most 700 characters. Longer text is refused, never cut. | |
| confirmed | No | Leave out first. true only after the user has said yes to the preview. | |
| confirmKey | No | The confirmKey from the confirmation_required preview of these same arguments. | |
| phoneNumber | No | Or the caller's number in full international form, e.g. +12125550171. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | What happened, e.g. ok, confirmation_required, not_found. | |
| message | No | One sentence for the user, when there is one. |