add_connections_to_view
Add multiple visual connections to an ArchiMate view in a single call, with automatic rollback on failure.
Instructions
Add multiple visual connections to a view in one call.
Each connection item supports the same fields as
`add_connection_to_view`. Both short and long field names are
accepted (`relationship` or `relationship_id`, `id` or
`connection_id`).
Connection item shape:
```
{
"id": "id-uses-conn", # optional stable ref
"relationship": "id-uses" # required (alias: relationship_id)
}
```
Args:
view_id: ID of the target view.
connections: List of connection item objects.
rollback_on_error: When true (default), restore the previous
view state if any item fails.
Returns:
Success envelope with `data.connection_ids`, `data.count`, and
`data.rollback_on_error`.
Errors:
`ModelOperationError` and `RelationshipNotFoundError` for the
first failing item.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view_id | Yes | ||
| connections | Yes | ||
| rollback_on_error | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||