Graph
graphBuilds and manages a code knowledge graph to provide token-efficient context for code reviews. Tracks incremental changes using Tree-sitter.
Instructions
Build and manage the code knowledge graph. Actions: build (full_rebuild, base, repo_root), update (base, repo_root), stats (repo_root), embed (repo_root), export (format, output_path, repo_root), summarize (max_nodes, repo_root). Use help tool for full docs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | HEAD~1 | |
| roots | No | ||
| action | Yes | ||
| format | No | graphml | |
| max_nodes | No | ||
| repo_root | No | ||
| output_path | No | ||
| full_rebuild | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |