execute_after_approval
Resume a controlled action after receiving human approval. Pass the approval_id to execute the pre-gated action in the specified environment.
Instructions
Resume a controlled action after principal approval.
The approval payload key is `approval_id`. This tool deliberately passes
that key through to `AVPAgent.execute_after_approval(...)`.
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": {
"audit_id": "<audit_id>",
"approval_id": "<approval_id>",
"action": "<action>",
"resource": "<resource>",
"environment": "<environment>"
},
"name": "execute_after_approval"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Action name bound to the Runtime Gate decision | |
| params | No | Optional execution params as a JSON object string. Default: {} | {} |
| audit_id | Yes | Runtime Gate audit_id from the WAITING_FOR_HUMAN_APPROVAL decision | |
| resource | Yes | Resource identifier bound to the Runtime Gate decision | |
| approval_id | Yes | Approved human approval id. Use approval.approval_id, not approval.id | |
| environment | Yes | Execution environment bound to the Runtime Gate decision |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |