inbox_wait
Wait for mail in this session's private inbox (its address is in the result; type it into the app's email field). Returns the first message that matches, already there or arriving within timeout_ms: from, subject, text, the 4 to 8 digit codes and the links in it. Use it to finish an emailed code or magic-link sign-in. Fails with inbox_timeout when nothing matches in time. Only this session can read this inbox; mail is kept in memory and removed when the session ends.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"session": "<session>"
},
"name": "inbox_wait"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | Only mail whose sender contains this | |
| session | Yes | Session from open_app | |
| subject | No | Only mail whose subject contains this (not case sensitive) | |
| timeout_ms | No | How long to wait, in ms (default 10000) |