wa_voice_call
Places a WhatsApp call and runs an OpenAI Realtime voice agent that introduces itself as the account owner's assistant, pursues a set goal, and returns a summary and transcript.
Instructions
Calls a person through WhatsApp and lets a voice agent (OpenAI Realtime) talk to them with a set goal. The agent introduces itself as the assistant of whoever uses the account (name in WA_OWNER_NAME), never poses as that person, follows only the goal and hangs up on its own; it speaks the language in WA_VOICE_LANGUAGE, or starts in English and follows the other person. max_minutes (default 5, up to 30) limits the length. Without confirm=true it only returns the plan. Needs confirm=true AND WA_ALLOW_CALLS=1, the BlackHole cables and the OpenAI key. Blocks until the call ends and returns the summary and the transcript path. Only when the owner explicitly asks.
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>",
"goal": "<goal>"
},
"name": "wa_voice_call"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ||
| goal | Yes | ||
| confirm | No | ||
| max_minutes | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||