kg_add_service
Add or update a service in the knowledge graph so architecture diagrams stay accurate. Specify owner, domain, links, and shape to reflect the current system state.
Instructions
Add or update a service in the knowledge graph.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Unique service identifier (stable; reused across diagrams). | |
| tags | No | Arbitrary tags. | |
| label | No | Display name (defaults to id). | |
| links | No | Related URLs (ADRs, runbooks, dashboards). | |
| owner | No | Owning team or person (e.g. "@payments"). | |
| shape | No | Shape override (rectangle/diamond/ellipse/circle/stadium/parallelogram). | |
| domain | No | Bounded-context / team / tier this service belongs to. | |
| graph_path | No | Knowledge file path. | .claude/architecture.md |
| description | No | Free-text description. | |
| component_type | No | Technology for auto-styling (e.g. "postgresql", "kafka"). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |