add_assumption
Add assumptions to a threat model to define boundaries and constraints, with support for single and batch entries.
Instructions
Add a new assumption to the threat model. Supports batch operations via the 'items' parameter.
Assumptions are statements that we accept as true without requiring further validation. They help scope the threat model by establishing boundaries and constraints. For single item: provide description, category, impact, rationale directly. For batch: provide a list of assumption dicts in the 'items' parameter.
Args: ctx: MCP context for logging and error handling description: Description of the assumption (required for single item mode) category: Category of the assumption (required for single item mode) impact: Impact of the assumption on the threat model (required for single item mode) rationale: Rationale for making this assumption (required for single item mode) items: Optional list of assumption dicts for batch operation
Returns: A confirmation message with the assumption ID(s)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | No | Optional list of assumptions to add in batch. Each dict should contain 'description', 'category', 'impact', 'rationale'. When provided, individual parameters are ignored. | |
| impact | No | Impact of the assumption on the threat model (required for single item mode) | |
| category | No | Category of the assumption (e.g., 'Network', 'Authentication', 'AWS Services') (required for single item mode) | |
| rationale | No | Rationale for making this assumption (required for single item mode) | |
| description | No | Description of the assumption (required for single item mode) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |