build_run
Executes one allowlisted build command with shell:false, a workspace-bound cwd, timeout, and no shell metacharacters; requires explicit confirmation and write access.
Instructions
Run one allowlisted build command with shell:false, a workspace-bound cwd, a timeout and no shell metacharacters. Requires RETRACE_ALLOW_WRITE=1 and confirm=true.
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": {
"command": "<command>",
"confirm": "<confirm>"
},
"name": "build_run"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory inside the workspace | |
| args | No | Arguments; restricted to a safe character set | |
| command | Yes | Allowlisted build tool | |
| confirm | Yes | Must be true; running a build is an explicit act | |
| timeoutMs | No |