get_dataflow
Analyze intra-function dataflow by tracking how parameters flow through the function body, where they get mutated, and what is returned, enabling understanding of data transformations.
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 |
|---|---|---|---|
| fqn | Yes | Fully qualified name of the function/method | |
| depth | No | Max analysis depth for chained calls (default 3) | |
| direction | No | Analysis direction (default both) | |
| symbol_id | No | Symbol ID of the function/method to analyze |