Create inbox
create_inboxCreate an email inbox for an AI agent to receive verification codes and magic links, in one call with no signup and no API key. Returns the address, a read_token (save it, it is shown once), the expiry time and an Ed25519 identity. Pass account_key to buy a longer-lived inbox with credits. Next: give the address to the website, then call wait_for_code with the read_token.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "create_inbox"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| alias | No | Optional prefix for the address (lowercase letters, digits and dashes). A random suffix is always added, so the address cannot be guessed. | |
| domain | No | Optional: your own verified domain (see add_domain). Creates local_part@domain as a 30-day paid inbox; needs account_key. | |
| purpose | No | What the inbox is for, e.g. "verify my account on example.com". Optional, stored with the inbox. | |
| ttl_hours | No | How many hours the inbox lives. 72 is free; 720 (30 days) needs an account_key with credits. | |
| local_part | No | With domain: the part before the @, e.g. "support". | |
| account_key | No | Optional account key (cak_...) to pay for a paid inbox. Without it the inbox is free and expires after 72 hours. |