Show the command policy
policyReports the active risky-command stance, rule-tier behavior, and full rule list after exec returns a denial or approval error, so users can explain blocks and options accurately.
Instructions
Report the active risky-command stance (GITBASH_MCP_RISKY, set by the user in the MCP client config), what each rule tier does under it, and the full rule list. Call this after exec returns error_code POLICY_DENIED or APPROVAL_REQUIRED, so you can explain the block and the user options accurately.
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": "policy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||