add_interaction
Record a dependency between two functions to trace dependency graphs using interaction types like call, chain, borrow, compose, or pipe.
Instructions
Record a dependency between two functions by name (call, chain, borrow, compose, pipe). Interactions are how the AI traces dependency graphs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Source function name | |
| target | Yes | Target function name | |
| interaction_type | Yes | Interaction type ('call', 'chain', 'borrow', 'compose', 'pipe') |