run_relevant_tests
Run selected test files to verify changes by inserting {tests} into the command for precise execution. Supports custom commands and full-suite fallback when the list is empty.
Instructions
Runs tests for a provided list. Use {tests} in the command for precise selection.
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": {
"tests": "<tests>"
},
"name": "run_relevant_tests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory | /app |
| tests | Yes | List of test files to run | |
| command | No | Test command override (can include {tests}) | |
| timeout | No | Timeout in milliseconds | |
| fallback_to_full | No | Run full test command when tests list is empty |