list_files_code
List files and directories at a specified path, with recursive option, to quickly understand project structure and locate resources.
Instructions
List files and directories in a specified path with optional recursive listing
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": {
"path": "<path>"
},
"name": "list_files_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The directory path to list files from | . |
| recursive | No | Whether to list files recursively |