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 征求用户确认。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |