repo_tree
Show a repository directory tree that respects .gitignore, helping AI coding agents orient themselves in an unfamiliar codebase before exploring files.
Instructions
Show the repository directory tree (respects .gitignore). Use first to orient yourself in an unfamiliar codebase.
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": "repo_tree"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Sub-directory, default repo root | |
| exclude | No | Glob patterns to exclude | |
| include | No | Glob patterns to include, e.g. ['*.py', 'src/**'] |