command_fake_run
Validates command policy acceptance or denial and returns fake runner results without executing commands, enabling preflight audit checks.
Instructions
Run the command policy and return a fake runner result. This never executes the command; it only proves policy acceptance/denial and audit metadata.
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": {
"workspace_root": "<workspace_root>",
"cwd": "<cwd>",
"argv": "<argv>"
},
"name": "command_fake_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | Command working directory; must be inside workspace_root. | |
| argv | Yes | Command argv array. Shell strings are not accepted. | |
| timeout | No | Duration such as 30s or 2m; max 15m. | |
| audit_log_id | No | Optional caller-provided audit log correlation id. | |
| shell_reason | No | Required reason when shell_allowed is true. | |
| env_allowlist | No | Allowed environment variable names. | |
| shell_allowed | No | Whether shell interpreter argv[0] is allowed. | |
| write_allowed | No | Whether workspace writes are allowed. | |
| authority_file | No | HTTP only: from `issueops mcp authorize`; omit over stdio. | |
| workspace_root | Yes | Workspace root boundary. | |
| network_allowed | No | Whether network access is allowed. |