Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Check Verification
AGENTPHONE_CHECK_VERIFICATIONCheck a recipient-provided six-digit code against a pending verification. Each incorrect check consumes one of at most three attempts. An ok or already_verified result incurs a $0.05 verification fee; incorrect, exhausted, and expired results are free. Only submit a code supplied for this verification. After an ambiguous failure, do not automatically repeat the check because an attempt may have been consumed or the paid verification may have succeeded.
Complete WhatsApp Connection
AGENTPHONE_COMPLETE_WHATSAPP_CONNECTIONComplete Meta Embedded Signup using a caller-supplied short-lived code. AgentPhone exchanges the code, stores the WABA connection, subscribes webhooks, and, when a phone-number ID is supplied, registers that number and optionally attaches an agent. Registering a number can remove it from the WhatsApp Business app. This mutates external Meta and WhatsApp state; only run it with explicit approval for the selected WABA and number.
Configure Webhook
AGENTPHONE_CONFIGURE_WEBHOOKCreate or update the account webhook or one agent override. Every call rotates and returns a new signing secret once; store it securely before making another webhook call.
Connect WhatsApp Number
AGENTPHONE_CONNECT_WHATSAPP_NUMBERRegister one existing WABA phone number for Meta Cloud API use and bind it to AgentPhone, optionally attaching an agent. This changes externally managed Meta state and can remove the number from the WhatsApp Business app.
Create Agent
AGENTPHONE_CREATE_AGENTCreate a webhook-mode or hosted AI voice agent. This configures the agent but does not place a call or assign a phone number.
Create Contact
AGENTPHONE_CREATE_CONTACTCreate an AgentPhone contact from a phone number and name.
Create SIP Trunk
AGENTPHONE_CREATE_SIP_TRUNKCreate a SIP trunk with provider-generated routing. Configure origination destinations and transfer policy afterward with Update SIP Trunk. Returned passwords and credential objects are omitted.
Create Sub-Account
AGENTPHONE_CREATE_SUB_ACCOUNTCreate an AgentPhone sub-account with the supplied name.
Create Web Call
AGENTPHONE_CREATE_WEB_CALLCreate a browser-call session and return a secret access token that expires in 30 seconds. The caller must immediately hand the token to the AgentPhone Web SDK and call startCall; this action does not connect audio itself.
Create WhatsApp Template
AGENTPHONE_CREATE_WHATSAPP_TEMPLATESubmit either authored components or one Meta Template Library entry to a connected WABA. This creates externally managed Meta template state. Authored content normally enters review and can remain pending for up to 24 hours; an unchanged library template may skip review. Meta can recategorize or reject content. Only run after the caller approves the exact content and connection. After an ambiguous failure, list templates before retrying to avoid duplicate submissions.
Delete Agent
AGENTPHONE_DELETE_AGENTPermanently delete an AgentPhone agent. Associated phone numbers, conversations, and calls remain, but their agent reference is cleared.
Delete Contact
AGENTPHONE_DELETE_CONTACTPermanently delete one saved AgentPhone contact. This destructive, one-shot operation cannot be undone and does not claim to remove existing messages or conversations. Automatic retries are disabled; after an ambiguous failure, check the contact list before deciding whether to try again.
Delete Contact Card
AGENTPHONE_DELETE_CONTACT_CARDPermanently remove the recipient-visible iMessage contact card from an owned AgentPhone number. The number itself is not deleted.
Delete SIP Trunk
AGENTPHONE_DELETE_SIP_TRUNKPermanently delete a SIP trunk, remove its upstream routing, and soft-delete its local record. Detach dependent numbers first.
Delete Sub-Account
AGENTPHONE_DELETE_SUB_ACCOUNTPermanently delete an AgentPhone sub-account and all isolated tenant state associated with it. This destructive operation cannot be undone. Delete only a known disposable sub-account, never the tenant targeted by the current connection or other pre-existing tenant state.
Delete Webhook
AGENTPHONE_DELETE_WEBHOOKDelete the account webhook and stop account delivery, or delete an agent override so that agent falls back to the account webhook.
Delete WhatsApp Template
AGENTPHONE_DELETE_WHATSAPP_TEMPLATEPermanently delete a Meta WhatsApp template. Supplying hsm_id deletes only that language variant; omitting hsm_id deletes EVERY language variant registered under the name. Meta then blocks reuse of the template name for 30 days. Automatic retries are disabled; after an ambiguous failure, list templates before deciding whether to call again.
Disconnect Supabase
AGENTPHONE_DISCONNECT_SUPABASEPermanently disconnect the AgentPhone account's existing Supabase integration. This removes stored integration authorization and cannot be undone by this action. Automatic HTTP retries are disabled; after an ambiguous result, check Supabase status before deciding whether to call again. No provider response fields are exposed because the upstream schema is unconstrained.
Disconnect WhatsApp
AGENTPHONE_DISCONNECT_WHATSAPPPermanently disconnect a WhatsApp Business Account from AgentPhone and release its AgentPhone numbers. This stops AgentPhone from using the connection but does not delete the customer's WABA, phone numbers, templates, or other Meta assets. Automatic retries are disabled; after an ambiguous failure, inspect WhatsApp status before deciding whether to call again.
Download Call Recording
AGENTPHONE_DOWNLOAD_CALL_RECORDINGDownload the complete WAV recording for a completed AgentPhone call as a file. The call ID is a bearer capability, so only use an authorized ID and keep it private. Recording must be enabled and may become available shortly after completion. Recordings require AgentPhone's $5/month recording add-on. Downloads are complete WAV files up to 20 MB; oversized recordings fail instead of returning a partial file.