Scan for component files
scan_componentsLists every .tsx/.jsx file under a specified directory that dslens treats as a component, helping you identify which files will be analyzed.
Instructions
Lists every .tsx/.jsx file dslens will consider a component, under the given directory.
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": {
"rootDir": "<rootDir>"
},
"name": "scan_components"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rootDir | Yes | Absolute path to the project (or a components folder) to scan |