spec_nav_trace_flow
Trace service flows statically: connect HTTP endpoints, RPC calls, and events to handlers or consumers with evidence and confidence. Use when a change touches an endpoint, RPC call, or event.
Instructions
Trace a flow across services, statically from source: HTTP client → route → handler, RPC call → handler, event/topic → consumers, plus direct calls inside each service. Use when a change touches an endpoint, RPC call or event. Start from a function (id or file+name), an endpoint or a topic; no start lists every link found. Each step has evidence, a confidence and a status (resolved, partial, ambiguous, unresolved, unmatched); partial, ambiguous and unresolved links are leads to check, and stacks without an adapter are reported as not traced.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Start function id. | |
| file | No | Start function's file (with `name`). | |
| line | No | ||
| name | No | ||
| limit | No | Steps per page (default 30). | |
| topic | No | Event, topic or RPC pattern: "order.created", "{ cmd: 'sum' }". | |
| cursor | No | The nextCursor from the previous page. Repeat the other arguments unchanged. | |
| format | No | "text" (default, compact) or "json" (structured). | |
| endpoint | No | "GET /api/orders/:id" or "/orders/42". | |
| maxDepth | No | Default 6, max 20. | |
| direction | No | Default downstream. | |
| followCalls | No | Follow direct calls inside a service (default true). | |
| includePartial | No | Follow partial links (default true). |