kg_add_service
Add or update a service node in the architecture knowledge graph, specifying its domain, owner, tags, and links to documentation.
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). | |
| label | No | Display name (defaults to id). | |
| component_type | No | Technology for auto-styling (e.g. "postgresql", "kafka"). | |
| description | No | Free-text description. | |
| domain | No | Bounded-context / team / tier this service belongs to. | |
| owner | No | Owning team or person (e.g. "@payments"). | |
| tags | No | Arbitrary tags. | |
| links | No | Related URLs (ADRs, runbooks, dashboards). | |
| shape | No | Shape override (rectangle/diamond/ellipse/circle/stadium/parallelogram). | |
| graph_path | No | Knowledge file path. | .claude/architecture.md |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |