run_validate
Run a check (tests, a build, a linter) through Istok for your run of the task: Istok executes the command in the project and records its exit code and output as evidence, tied to the state of the code it checked, which a check run in your…
Instructions
Run a check (tests, a build, a linter) through Istok for your run of the task: Istok executes the command in the project and records its exit code and output as evidence, tied to the state of the code it checked, which a check run in your own shell cannot give. Run it after your last change to the code: task_done refuses a validation when the code has changed since. Prefer it to running the check yourself and reporting it with task_evidence. Pass task_id, and argv without a shell.
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": {
"argv": "<argv>"
},
"name": "run_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Optional relative working directory inside the fixed project directory. | |
| argv | Yes | Managed command argv without a shell. | |
| run_id | No | Canonical UUIDv7 run identifier; with lease_id instead of task_id. | |
| task_id | No | Canonical UUIDv7 task identifier of a task you claimed; runs the command in your active run of it. Use it or run_id with lease_id. | |
| lease_id | No | Current run lease UUIDv7; with run_id. | |
| timeout_ms | No | Positive command timeout in milliseconds. | |
| output_limit | No | Positive per-stream output limit in bytes. | |
| allow_dangerous | No | Allow a dangerous command with an audited reason. | |
| override_reason | No | Required with allow_dangerous for dangerous commands. | |
| termination_grace_ms | No | Positive termination grace in milliseconds. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | ||
| artifacts | Yes | ||
| execution | No | ||
| validation | No | ||
| schema_version | Yes |