Decide approval
dsh_approval_decideAllow or deny a pending DSH permission request during a running turn, letting the agent continue past sandbox or escalation checks.
Instructions
While a turn is running, decide a permission request DSH is waiting on (these only appear when the conversation uses on_approval=ask); after you allow or deny, the turn continues. It hands DSH's out-of-sandbox and escalation requests to the caller instead of allowing or denying them all. To grade the result of a finished turn use dsh_review.
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": {
"conversation_id": "<conversation_id>",
"approval_id": "<approval_id>",
"decision": "<decision>"
},
"name": "dsh_approval_decide"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| decision | Yes | Allow or deny. | |
| approval_id | Yes | From dsh_inbox, or pending_approvals in dsh_get. | |
| conversation_id | Yes | Conversation id, from dsh_start or dsh_list. |