marm_graph_trace
Trace function call paths and data flow across services for impact analysis and dependency tracking. Supports inbound, outbound, or both directions with configurable depth.
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` crosses HTTP/async
boundaries. 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)
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 |