codegraph_files
Explore a project's file structure by reading its indexed tree, with paths normalized to repo-relative POSIX prefixes.
Instructions
Read the indexed project file tree. Paths are normalized to repo-relative POSIX prefixes.
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": "codegraph_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Repo-relative path prefix. | |
| format | No | tree | |
| pattern | No | ||
| maxDepth | No | ||
| projectPath | No | Absolute path to the target project or worktree. Pi fills this with the active cwd when omitted; OMP child agents should pass their exact worktree path. | |
| includeMetadata | No |