dashclaw_guard
Evaluate risky actions against governance policies before execution. Returns allow, warn, block, or require_approval to prevent unauthorized changes to production systems.
Instructions
Evaluate DashClaw governance policies before taking a risky action. Call this BEFORE any action that modifies external systems, deploys code, sends messages, or touches production data. Returns a decision: "allow" (proceed), "warn" (proceed with caution), "block" (stop), or "require_approval" (wait for human in Mission Control). If the decision is "block", do NOT proceed with the action.
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": {
"action_type": "<action_type>",
"declared_goal": "<declared_goal>",
"risk_score": "<risk_score>"
},
"name": "dashclaw_guard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Primary file path, URL, or resource the action touches (lets protected-path policies match) | |
| content | No | Outbound content excerpt (file content, message body) so secret-scan and content policies can evaluate it | |
| agent_id | No | Fallback identity when no server-level agent id is configured (the configured id wins) | |
| tool_name | No | Name of the tool that will perform the action (e.g., Write, Bash, send_email) | |
| reversible | No | Whether the action can be undone | |
| risk_score | Yes | Estimated risk 0-100. Use 70+ for production systems. | |
| action_type | Yes | Category of action (e.g., deploy, send_email, database_write, api_call) | |
| write_paths | No | File paths the action will write or modify (protected-path policy matching) | |
| declared_goal | Yes | What you intend to do, in plain language | |
| systems_touched | No | Systems affected (e.g., production, database, email) |