safety_policy
Retrieve the current safety policy to identify auto-approved actions and those requiring user confirmation through preview.
Instructions
只读返回当前安全策略(mode/allow_rules/deny_rules/auto_approve)。会话开始时先调用本工具,auto_approve 命中域可直接执行,未命中域必须先 preview 征求用户确认。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "safety_policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |