update_view
Update an existing view's metadata fields like name, description, or properties. Optionally change viewpoint with validation to prevent errors.
Instructions
Update an existing ArchiMate view.
Only metadata fields can be updated; nodes and connections are
managed by `add_node_to_view`, `add_connection_to_view`, and the
layout tools.
Args:
view_id: ID of the view to update.
updates: Mapping of fields to update. Supported keys:
- `name` (str): New view name.
- `description` (str): New documentation text.
- `properties` (dict[str, str]): Property updates merged
into existing properties.
viewpoint: Optional viewpoint, as on `create_view`. Validated
before anything is applied: an unknown value leaves the
view completely untouched, `name` and `description`
included.
Returns:
Success envelope with the updated `ViewDetail` in `data`.
Errors:
`ViewNotFoundError` when `view_id` is unknown.
`ModelOperationError` for an unknown `viewpoint`, with both
accepted catalogs in `error.details`.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| updates | Yes | ||
| view_id | Yes | ||
| viewpoint | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||