haldir_request_approval
Request human approval for a risky action, returning a request ID to poll or await via webhook until the decision is approved or denied.
Instructions
Request human-in-the-loop approval for a risky action. Returns a request_id; pass that to haldir_get_approval_status, or wait for a webhook, until the status becomes 'approved' or 'denied'.
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_id": "<session_id>",
"action": "<action>",
"reason": "<reason>"
},
"name": "haldir_request_approval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ttl | No | Seconds until the request expires. | |
| action | Yes | ||
| reason | Yes | ||
| details | No | ||
| session_id | Yes |