request_auth_code
Retrieves a recent authentication code from email by matching sender domain to a target origin, and can switch to mailbox-read mode when service matching is not needed.
Instructions
Retrieve one recent code matched to target_origin by sender domain. Explicit mailbox-read mode omits service matching. Sender matching is not cryptographic email authentication.
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": {
"account_id": "<account_id>"
},
"name": "request_auth_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| purpose | No | ||
| agent_id | No | ||
| account_id | Yes | ||
| origin_policy | No | target-origin | |
| target_origin | No | ||
| max_age_seconds | No |