run_checks
Execute up to eight non-interactive shell commands concurrently with per-command timeouts and compact or full output; non-zero exits return structured exit codes for automated checks.
Instructions
Run 1-8 non-interactive commands concurrently (shell: pwsh default | cmd | wsl), all with windowsHide. Per-command timeoutSec (default 120, max 900) kills the whole process tree. outputMode compact (status + failure tails) or full. Any non-zero exit is returned as structured exitCode (timeout = 124).
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": {
"commands": "<commands>"
},
"name": "run_checks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Default working directory (Windows path; converted to /mnt/... for wsl). | |
| shell | No | Default interpreter: pwsh (PowerShell 7, falls back to Windows PowerShell), cmd, or wsl (bash -lc in WSL). | pwsh |
| distro | No | WSL distribution for shell=wsl (default: WSL default distro). | |
| commands | Yes | Commands run concurrently; each a string or {command, name?, shell?, cwd?, timeoutSec?}. | |
| maxChars | No | Inline output cap (500..8800); overflow is spooled to a file. | |
| outputMode | No | compact: status line per command + output tail of failures; full: every output. | compact |
| timeoutSec | No | Default per-command timeout; on timeout the whole process tree is killed (taskkill /T /F). |