tests
Find test classes that use a symbol directly or via callers and return a ready Gradle --tests or Maven -Dtest filter without running them.
Instructions
Test classes (in test compile tasks or src/test/) that use a symbol, directly or
(transitive) through callers, with a ready filter: --tests for Gradle (./gradlew when
present), -Dtest for Maven. It does not run them.
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": {
"symbol": "<symbol>"
},
"name": "tests"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Caller levels when transitive | |
| symbol | Yes | Name or exact SCIP symbol (forms: see the server instructions) | |
| transitive | No | Also tests that reach it through callers (uses the index) | |
| project_root | No | Checkout or worktree to query (any directory in it); default: where the server started |