list_files
List files and directories in the workspace to explore project structure, with optional depth up to 6 levels.
Instructions
List files and directories in the workspace. Useful for exploring project structure before evaluating code.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Relative directory path to list (default: workspace root) | |
| depth | No | Max recursion depth (default: 2, max: 6) |