request_approval
Obtain explicit traveler approval for pending flight recovery actions. Shows a summary and returns an approval token upon confirmation to proceed with rebooking or cancellation.
Instructions
Ask the traveler to approve a pending action (from a write tool called without a token).
A dialog shows the traveler a summary written by the server. Only an explicit "yes"
returns an approval_token. Then call the same write tool again with that token.
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": {
"pending_action_id": "<pending_action_id>"
},
"name": "request_approval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pending_action_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||