Inbox status
inbox_statusShow this inbox's email address and state: { address, plan, active, expires_at, messages_left, unseen }. Use it first to get the address to give a website, or to check the inbox is still active before waiting for mail. messages_left is how many more incoming emails it will accept; unseen is how many have arrived that wait_for_email hasn't returned yet. Read-only; changes nothing. If active is false the inbox has expired and incoming mail is refused until it is renewed with x402 (POST https://ai-mail.sh/inbox/{id}/day or /month). To receive mail use wait_for_email; to browse it use list_emails. Parameters: none; the inbox is chosen by the token this connection authenticates with, so there is no address or id to pass.
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": "inbox_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||