get_dataflow
Track how function parameters flow through calls, mutations, and return paths within a single function scope. Use to understand data transformations and dependencies.
Instructions
Intra-function dataflow analysis: track how each parameter flows through the function body — into which calls, where it gets mutated, and what is returned. Phase 1: single function scope. Use to understand data transformations within a function. For security-focused data flow use taint_analysis instead. Read-only. Returns JSON: { symbol_id, params: [{ name, flows: [{ target, mutated }] }], returnPaths }.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol_id | No | Symbol ID of the function/method to analyze | |
| fqn | Yes | Fully qualified name of the function/method | |
| direction | No | Analysis direction (default both) | |
| depth | No | Max analysis depth for chained calls (default 3) |