graph_rebuild
Rebuilds the code graph from source files to enable structural analysis and persistent memory for AI coding assistants.
Instructions
Rebuild code graph from source
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": "graph_rebuild"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Build mode | incremental |
| verbose | No | Verbose output | |
| workspaceRoot | No | Workspace root path (absolute preferred) | |
| workspacePath | No | Alias for workspaceRoot | |
| sourceDir | No | Source directory path (absolute or relative to workspace root) | |
| projectId | No | Project namespace for graph isolation | |
| profile | No | Response profile | compact |
| indexDocs | No | Index markdown documentation files (READMEs, ADRs) during rebuild (default: true). Set false to skip docs indexing. |