Axon · Guides
Follow calls and feature paths
Once you have identified a symbol, trace incoming relationships to find callers, or outgoing relationships to inspect what it uses:
axon trace processInvoice --direction incoming --depth 3 --max-nodes 100 --json
axon trace processInvoice --direction outgoing --depth 3 --max-nodes 100 --json
Replace processInvoice with the exact node ID if search returns several candidates. Missing or ambiguous starts exit 1; ambiguity reports candidates to resolve first.
Read edge types and confidence alongside the source locations. Check cycles, truncation and deferred dispatch termini. A job, event or container boundary can be where static evidence stops, not where execution stops. The default confidence floor includes framework-inferred edges; lower it to heuristic only when you accept weaker evidence.
For a route or capability surface, start with a feature path instead:
axon feature-path '/invoices' --max-depth 4
axon siblings 'src/invoices.ts' --limit 20
feature-path resolves the surface before slicing downstream structure. Inspect resolution.status and target: unresolved results exit 1, but multiple matches select the first ranked candidate rather than reporting ambiguity. Use a precise surface or symbol ID. siblings returns nearby symbols. Both commands print JSON without a --json option.