gid_edit_graph
Add, update, or delete graph nodes, edges, and relation types to keep your codebase architecture model current, with an optional dry run to preview changes first.
Instructions
Directly add, update, or delete nodes, edges, and relation types in the graph. Supports dynamic relation schema.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"operations": "<operations>"
},
"name": "gid_edit_graph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Preview changes without applying (default: false) | |
| graphPath | No | Path to graph.yml (optional) | |
| operations | Yes | List of operations to perform |