add_component_to_zone
Add components to trust zones in your architecture. Supports single or batch operations by providing zone and component IDs, enabling efficient grouping for structured threat modeling.
Instructions
Add a component to a trust zone. Supports batch operations via the 'items' parameter.
This tool adds one or more components to trust zones in the system architecture. For single item: provide zone_id and component_id directly. For batch: provide a list of dicts in the 'items' parameter.
Args: ctx: MCP context for logging and error handling zone_id: ID of the trust zone (required for single item mode) component_id: ID of the component to add (required for single item mode) items: Optional list of zone-component pair dicts for batch operation
Returns: A confirmation message
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | Optional list of zone-component pairs to add in batch. Each dict should contain 'zone_id' and 'component_id'. When provided, individual parameters are ignored. | |
| zone_id | No | ID of the trust zone (required for single item mode) | |
| component_id | No | ID of the component to add (required for single item mode) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |