Run Tests
run_testsExecute project test suites in a sandbox using auto-detected runners or a custom command, with pass/fail counts parsed from output.
Instructions
Run the test suite inside the sandbox. The runner is auto-detected (vitest, jest, pytest, cargo test, go test, maven test, gradle test) and pass/fail counts are parsed from the output.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "run_tests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Arguments for the explicit command. | |
| path | No | Project directory relative to the workspace root (default "."). | |
| command | No | Explicit test command (overrides auto-detection). | |
| timeoutMs | No | Timeout in milliseconds. |