kg_render_around
Render a service and its surrounding dependencies up to a specified depth, choosing downstream, upstream, or both directions, to produce an Excalidraw architecture diagram.
Instructions
Render a service plus everything within depth hops of it.
direction: "downstream" (its dependencies), "upstream" (its
dependents), or "both".
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": {
"service_id": "<service_id>",
"depth": "<depth>",
"output_path": "<output_path>"
},
"name": "kg_render_around"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | Yes | ||
| theme | No | default | |
| direction | No | both | |
| graph_path | No | .claude/architecture.md | |
| service_id | Yes | ||
| output_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |