run_refused
Records a goal run's call that Claude Code refused despite guard approval, capturing the allow rule it needs; intended for quarterdeck-goals plugin use only.
Instructions
Records a goal run's call that Claude Code refused although the guard allowed it, with the allow rule it needs. For the quarterdeck-goals plugin only: agents and the model must not call this.
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": {
"run_id": "<run_id>",
"tool_name": "<tool_name>"
},
"name": "run_refused"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | No | The call's command and path fields, to match the goal's command rules | |
| run_id | Yes | ||
| run_scope | No | A goal run passes its run id here; anyone else leaves it out. | |
| tool_name | Yes | The tool Claude Code refused |