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.
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.
End Call
AGENTPHONE_END_CALLImmediately request termination of an active AgentPhone call. AgentPhone accepts the stop request before its asynchronous call-ended update finishes, so the returned status may still be in-progress; retrieve the call afterward to confirm its terminal status.
Lookup Numbers
AGENTPHONE_LOOKUP_NUMBERSLook up line type, country, and RCS intelligence before messaging up to 25 phone numbers. This is a paid operation that costs $0.009 per submitted number, and automatic retries are disabled to prevent duplicate charges.
Place Call
AGENTPHONE_PLACE_CALLImmediately place one externally visible, metered outbound telephone call from an AgentPhone agent to a consented destination. The recipient may be called and hear the configured greeting or agent. AgentPhone provides no idempotency key, so automatic HTTP retries are disabled. If a timeout, network failure, server error, or other ambiguous result occurs, inspect recent calls before deciding whether to call again to avoid duplicate calls and charges.
Provision Number
AGENTPHONE_PROVISION_NUMBERPurchase and provision an AgentPhone number, optionally choosing an area code and attaching an agent. This immediately incurs a charge and creates an ongoing recurring cost of at least $3 per month for the number.
Refresh Supabase Token
AGENTPHONE_REFRESH_SUPABASE_TOKENRetrieve a valid Supabase credential server-side, refreshing AgentPhone's stored provider credential when needed. Returns only connection, refresh, availability, expiry, and project metadata; raw access tokens, refresh tokens, JWTs, and other credential fields are never returned.
Release Number
AGENTPHONE_RELEASE_NUMBERPERMANENTLY AND IRREVERSIBLY release an owned AgentPhone number from its upstream provider and mark it released. The number cannot be recovered, and future inbound and outbound use stops. Existing messages and conversation history remain for audit purposes. This also ends the number's recurring resource lifecycle. Automatic retries are disabled; after an ambiguous failure, retrieve the number and inspect its status before taking further action.
Send Message
AGENTPHONE_SEND_MESSAGESend one externally visible and potentially billed SMS, MMS, iMessage, RCS-routed, or WhatsApp message. AgentPhone accepts the message for asynchronous delivery; acceptance does not guarantee delivery. This action has no idempotency key and disables automatic HTTP retries. After any timeout, network failure, server error, or other ambiguous result, inspect recent messages before deciding whether to send again to avoid duplicate messages and charges.