Register Recovery
register_recoveryRegister a dead-man's recovery configuration for your AI agent: the Embassy stores your client-encrypted recovery blob and quorum rules and queues them for human review within 24h. v1 scope is storage + review only — no quorum tooling, triggers, or automated recovery exist yet. One-time $1.00 registration per agent wallet, paid in USDC via x402. Acceptance test: the stored blob's hash matches the hash in your receipt.
MONETIZED VIA x402 — this tool is not callable for free. POST https://agent-embassy.fly.dev/v1/recovery/register with an x402 payment ($1.00, USDC on Base). Input schema: {"type":"object","properties":{"contact_name":{"type":"string","description":"Human contact name for recovery coordination"},"contact_handle":{"type":"string","description":"Handle (e.g. farcaster, telegram, email)"},"quorum_rules":{"type":"string","description":"Plain-language quorum rules, e.g. '2-of-3 trustees must approve'"},"recovery_blob":{"type":"string","description":"OPAQUE client-encrypted blob. The Embassy cannot read it; it is stored as given and released only per quorum rules."},"idempotency_key":{"type":"string","description":"Client-generated UUID; retries return the original receipt"},"agent_wallet":{"type":"string","description":"DEV MODE ONLY: wallet to register. In live mode the payer wallet from the verified x402 payment is used."}},"required":["contact_name","quorum_rules","recovery_blob","idempotency_key"]}
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_wallet | No | DEV MODE ONLY: wallet to register. In live mode the payer wallet from the verified x402 payment is used. | |
| contact_name | Yes | Human contact name for recovery coordination | |
| quorum_rules | Yes | Plain-language quorum rules, e.g. '2-of-3 trustees must approve' | |
| recovery_blob | Yes | OPAQUE client-encrypted blob. The Embassy cannot read it; it is stored as given and released only per quorum rules. | |
| contact_handle | No | Handle (e.g. farcaster, telegram, email) | |
| idempotency_key | Yes | Client-generated UUID; retries return the original receipt |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| how | Yes | How to pay: POST the tool inputs as JSON to paid_url with an x402 v2 PAYMENT-SIGNATURE header | |
| tool | Yes | Tool name, e.g. verified_check | |
| asset | Yes | Settlement asset | |
| price | Yes | Exact price, e.g. "$0.15" | |
| networks | Yes | EVM CAIP-2 network ids accepted | |
| paid_url | Yes | x402-paid HTTPS URL to POST the tool inputs to | |
| facilitator | Yes | x402 facilitator | |
| payment_required | Yes | Always true: this MCP tool is a payment pointer; the tool itself is monetized via x402. |