dsh_approval_decide
Decide a pending DSH approval by allowing or denying escalated permission requests, so callers control whether a session proceeds instead of auto-approving or rejecting.
Instructions
裁决一个待决审批(仅当会话的 on_approval=ask 时会出现)。用于把 DSH 的越权/提权请求交给调用方决定,既不一律放行也不一律拒绝。
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 | 放行或拒绝。 | |
| approval_id | Yes | 来自 dsh_get 的 pending_approvals。 | |
| conversation_id | Yes | 会话 id,来自 dsh_start 或 dsh_list。 |