get_project_structure
Returns a project's directory tree, respecting .gitignore by default, so you can inspect structure and locate files without scanning ignored paths.
Instructions
Return the directory tree of a project, respecting .gitignore by default
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": "get_project_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Root directory to scan (defaults to current working directory) | . |
| max_depth | No | Maximum directory depth to traverse | |
| respect_gitignore | No | Exclude paths matched by .gitignore |