Run Tests
run_testsExecute the workspace's test suite to identify coding errors. Auto-detects the test runner and requires confirmation for safety.
Instructions
Executes the workspace's test suite. Auto-detects the appropriate test runner. The confirm flag MUST be set to true to actually execute — this is a safety measure.
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": {
"confirm": "<confirm>"
},
"name": "run_tests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | Must be true to execute tests. Safety gate to prevent accidental runs. | |
| command | No | Override the auto-detected test command. | |
| timeout_ms | No | Maximum execution time in milliseconds. |