project_map
Map repository structure by generating a directory tree and listing supported text files without contents; respects .gitignore and depth limits to reveal project layout.
Instructions
Directory tree and the list of supported text files, without file contents.
Respects default ignores and .gitignore files. Symlinks are not followed.
Set depth to list only the first N levels, like tree -L N.
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": "project_map"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Local project directory. Defaults to the server's working directory. | |
| depth | No | ||
| format | No | Output format: 'markdown' (default) or 'json' (structured envelope). | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |