create_empty_model
Creates a new empty ArchiMate model and sets it as the active model. Required before adding elements, relationships, or views; replaces any existing active model.
Instructions
Create a new empty ArchiMate model and make it the active model.
Replaces any currently active model. Call this (or one of the
`load_model_*` tools) before any element/relationship/view tool.
Use `update_model` to change this metadata later, including on a
model that was loaded rather than created.
Args:
name: Human-readable model name. Must be a non-empty string.
description: Optional model-level documentation. Comes back as
`data.model_info.documentation` and survives both export
formats.
properties: Optional model-level properties. Keys and values are
coerced to strings.
Returns:
Success envelope with `data.model_id` (the new model UUID) and
`data.model_info` (same shape as `pyarchimate://activemodel/info`:
name, id, documentation, properties, elements_count,
relationships_count, views_count, is_loaded).
Errors:
`INVALID_MODEL_NAME` when `name` is missing or blank.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| properties | No | ||
| description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||