list_files
List files and directories in a repository, supporting depth limits, glob pattern filters, and respecting .gitignore.
Instructions
List files/dirs. Respects .gitignore.
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 | Dir path (default: root) | |
| pattern | No | Glob filter | |
| max_depth | No | Depth (default: 3) |