wait_for_approval
Waits for an approval decision by polling the mailbox, returning the result when approved, rejected, or timed out.
Instructions
Poll IMAP until an approval is approved, rejected, or times out.
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": {
"approval_id": "<approval_id>"
},
"name": "wait_for_approval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| approval_id | Yes | ||
| from_address | No | ||
| timeout_seconds | No | ||
| poll_interval_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |