create_session
Start a phone verification session by SMS, WhatsApp, or Telegram, returning a deep link, QR code, and QR text to present to the user. Poll until verified, failed, or expired.
Instructions
Create a new phone verification session. Returns deep_link, qr_code (base64 PNG), and qr_text (UTF-8 text QR for terminal display). Sessions provide a hosted verification flow with callbacks.
Agent usage: After creating a session, pass the response's deep_link to render_auth_link so the user can open or scan it. Never hand qr_text to a link renderer — it is that link already rendered as QR art. Print it verbatim inside a fenced code block only when a real terminal needs the QR. Then use wait_for_session to poll until the session reaches a terminal state (verified, failed, or expired).
ACCESS: needs a Proof account. Set PROOF_API_KEY and restart this server, then call this tool again. start_login does NOT open this tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| channel | Yes | Verification channel | |
| metadata | No | Custom key-value metadata | |
| template_id | No | Custom template ID | |
| callback_url | No | URL to redirect after verification | |
| phone_number | Yes | Phone number in E.164 format | |
| external_user_id | No | Your application user ID |