trace_data_flow
Trace data flow from source to destination, revealing transformations and side effects to debug issues and plan code changes.
Instructions
Trace how specific data flows through the system from source to destination.
Use this tool when you need to understand:
How a piece of data (user_id, email, order_data, etc.) moves through the codebase
What functions transform or modify the data
Where data comes from and where it goes
What side effects might occur when processing this data
Perfect for debugging data-related issues, understanding data dependencies, or planning changes that affect data flow.
Args: repo_path: Repository path (absolute) working_directory: Working directory (absolute path) data_identifier: Name of the data to trace (e.g., "user_id", "email", "order") max_depth: How deep to trace the data flow include_transformations: Whether to show data transformation points show_side_effects: Whether to identify potential side effects
Returns: Comprehensive data flow analysis with transformation points and dependencies
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_depth | No | ||
| repo_path | Yes | ||
| data_identifier | Yes | ||
| show_side_effects | No | ||
| working_directory | Yes | ||
| include_transformations | No |