delete_element
Remove an ArchiMate element from the active model. Automatically deletes related relationships and visual nodes to keep the model consistent.
Instructions
Delete an ArchiMate element from the active model.
pyArchimate also removes dependent concepts such as relationships
and visual nodes/connections referencing the deleted element.
Args:
element_id: ID of the element to delete.
Returns:
Success envelope with `data.deleted=true`.
Errors:
`ElementNotFoundError` when `element_id` is unknown.
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": {
"element_id": "<element_id>"
},
"name": "delete_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| element_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||