delete_component
Delete components from the system architecture, either individually by ID or in batch using a list, to maintain accurate threat models.
Instructions
Delete a component from the architecture. Supports batch operations via the 'ids' parameter.
This tool deletes one or more components from the system architecture. For single item: provide the id directly. For batch: provide a list of IDs in the 'ids' parameter.
Args: ctx: MCP context for logging and error handling id: ID of the component to delete (required for single item mode) ids: Optional list of component IDs for batch deletion
Returns: A confirmation message
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ID of the component to delete (required for single item mode) | |
| ids | No | Optional list of component IDs to delete in batch. When provided, the 'id' parameter is ignored. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |