pg_code_graph
Rebuilds incremental AST and bidirectional import dependency graphs across Python, TS/JS, Go, and Rust, revealing affected files and blast radius for focused code changes.
Instructions
Rebuild incremental AST & bidirectional import/blast-radius dependency graph (Python, TS/JS barrel re-exports, Go, Rust).
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": "pg_code_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot | No | Workspace slot name (optional if only one slot is open or `--slot` default is set). | |
| focus_files | No | Optional relative paths to inspect Imports & ImportedBy blast radius. |