add_interactions
Record multiple function dependencies in a single call by providing an array of interaction tuples, each specifying source, target, type, and description.
Instructions
Batch-record function dependencies by ID. More efficient than multiple add_interaction calls for tracking all cross-function dependencies.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"interactions": "<interactions>"
},
"name": "add_interactions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| interactions | Yes | Array of tuples [(source_function_id, target_function_id, interaction_type, description), ...] - type: 'call', 'chain', 'borrow', 'compose', 'pipe' |