Trace Data Path
trace_data_pathTrace data from a function through its call graph to every sink, listing database writes, network egress, filesystem writes, and tables touched before you edit data-handling code.
Instructions
Follow data from one function through the call graph to its sinks. From a start entity it walks callees, records the data each hop consumes/produces/mutates, and reports the chain from the start to every sink the data reaches — database writes, network egress, filesystem writes — plus the tables touched. Call it before changing a function that handles real data: it answers "where does this data end up?", the cross-call composition get_data_flow (one entity) cannot give. Flags untrusted inputs at the source.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Project name (required in multi-project mode). Use list_projects to see available projects. | |
| entity_id | Yes | Entity ID or name to trace data flow from | |
| max_depth | No | How many call hops to follow downstream (default: 5, max: 8) |