listTestFiles
Locate test files in a project directory by scanning it and returning paths for the detected framework. Read-only, with configurable depth and result limits.
Instructions
Scan a project directory and return test files for the detected framework. Read-only — never modifies files.
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": {
"projectRoot": "<projectRoot>"
},
"name": "listTestFiles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxDepth | No | Max directory depth to walk (default 8). | |
| maxResults | No | Cap on returned file paths (default 200, max 2000). | |
| projectRoot | Yes | Absolute path to the project root to scan. |