get_topology
Map Kubernetes service/workload relationships to diagnose incidents. Visualize traffic or ownership hierarchies across namespaces, revealing dependencies without per-resource inspection.
Instructions
Use to map a multi-service incident or dependency graph, preferably scoped to a namespace. Returns Kubernetes resource nodes and edges (Services, workloads, Pods, Ingresses, ConfigMaps, Secrets, owners) so you can see service-to-workload traffic and ownership relationships instead of inspecting resources one by one. Use view=traffic for routing/connectivity questions and view=resources for ownership/deployment hierarchy. Always specify namespace unless you specifically need a cross-namespace graph. If you already know the suspicious root, use get_neighborhood for a smaller focused graph.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | view mode: traffic for service routing/connectivity or resources for ownership hierarchy | |
| format | No | output format: graph (default, full node/edge data) or summary (text description of resource chains) | |
| namespace | No | filter to a specific namespace for a multi-service incident map; recommended unless you need cross-namespace topology |