get_topology
Map multi-service incident or dependency graphs in Kubernetes. Returns resource nodes and edges to show traffic and ownership relationships.
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 |
|---|---|---|---|
| namespace | No | filter to a specific namespace for a multi-service incident map; recommended unless you need cross-namespace topology | |
| 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) |