marm_graph_trace
Identify impact and dependencies by tracing call paths and data flow from any function. Trace callers, callees, and value propagation across your codebase.
Instructions
🧠Trace call paths / data flow through the graph from a function.
`direction=inbound` finds callers, `outbound` finds callees, `both` for all.
`mode=data_flow` follows value propagation. `cross_service` attempts HTTP/async
boundaries but does not currently join a client call to its server handler, so
treat an empty result as unknown rather than as "nothing calls this".
Use for impact analysis, dependency tracing, "who calls this".
Parameters:
- function_name: function or method to trace from
- project: project name; omit to auto-resolve
- direction: inbound | outbound | both (default both)
- depth: max hops, 1-5 (default 3)
- mode: calls | data_flow | cross_service (default calls)
- risk_labels: add CRITICAL/HIGH/MEDIUM/LOW risk tiers by hop distance (default True)
- include_tests: also return callers in test files (default False)
- include_evidence: per-hop `strategy` (lsp | language_rule | heuristic | unresolved)
and `confidence`, so a guessed edge is distinguishable from a resolved one
(default True). Test callers typically come back heuristic at low confidence
Returns: graph trace response, or a graph-unavailable error if the graph
backend is disabled or failed to start
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | calls | |
| depth | No | ||
| project | No | ||
| direction | No | both | |
| risk_labels | No | ||
| function_name | Yes | ||
| include_tests | No | ||
| include_evidence | No |