digest_command
Runs your build, tests, linter, or DRC command and returns a verdict instead of raw output: exit code, checked error quotes, last lines, and the full log path.
Instructions
Run a command of yours (build, tests, linter, DRC) and get the verdict instead of the output.
Returns the exit code, the answer of the executor to question (default: did it succeed,
and what are the errors) with checked quotes, the last lines of the output, and the path
of the full output in case you need to read a part yourself. The command runs as you wrote
it, with your rights: the limits apply only to commands the executor chooses.
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>",
"cwd": "<cwd>"
},
"name": "digest_command"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | ||
| command | Yes | ||
| timeout | No | ||
| question | No | ||
| max_words | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |