list_files
List files and directories in a workspace path. Use recursive, glob, or depth options to discover layout before reading files.
Instructions
List files and directories under a workspace path. Optional recursive, glob_pattern, max_depth, include_dotfiles. Use to discover layout before reading.
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 | . | |
| max_depth | No | ||
| recursive | No | ||
| glob_pattern | No | ||
| include_dotfiles | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |