update_dependency
Updates an existing dependency. NATURE of the dependency: type ('business' = dashed business arrow, 'structural' = solid hierarchy) — change it HERE rather than by deleting then recreating, which would lose the dependency's identity and its history. Per-arrow appearance: label, style ('solid'/'dashed'), shares, fromAnchor/toAnchor, animated (true/false/null), color (ColorKey or null), strokeWidth (px or null), waypoints (list of manual waypoints or null to go back to automatic routing).
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": {
"id": "<id>"
},
"name": "update_dependency"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| type | No | business = dashed business arrow, structural = solid hierarchy. Changes the NATURE of the dependency without losing its identity (hence its history). | |
| color | No | Stroke color. null = default. | |
| label | No | ||
| style | No | ||
| shares | No | ||
| animated | No | Enables/disables the animation. null = type default. | |
| toAnchor | No | ||
| waypoints | No | Manual waypoints (absolute canvas px). null to go back to automatic routing. | |
| fromAnchor | No | ||
| strokeWidth | No | Width in px. null = default. | |
| expectedProjectId | No | UUID of the project THIS call targets (overrides the session project). |