Draw a threat model or security architecture
draw_security_slateDraw threat-model data-flow diagrams, EU CRA Annex VII documentation, FDA security architecture views, repository component architecture, or STRIDE prompts as editable security slates.
Instructions
Draw a threat model (data-flow diagram with STRIDE prompts), an EU Cyber Resilience Act Annex VII technical documentation slate, the FDA premarket security architecture views, a component architecture from a repository's model, or STRIDE prompts beside an existing slate's parts.
Draw a security slate. Draw typed security notes and lines (real notes everyone edits). what: "threat-model" (a data-flow diagram with trust boundaries and a STRIDE sticky note for each part), "cra-annex-vii" (the EU Cyber Resilience Act's technical documentation: the system architecture for point 2(a) and a note for each point), "fda-views" (the FDA premarket security architecture views: global system, multi-patient harm, updateability/patchability and a security use case), "architecture" (the component view of a repository, from its architecture model or from its files: one boundary around what the code runs, a frame per tier, protocols from the code; data and encryption are left for people) or "stride" (STRIDE prompts as sticky notes beside a slate's typed parts; needs shareId). With shareId the drawing goes beside what that slate holds (edit access); without, it becomes a new private slate of yours named name. Each template cites the official text it follows. mode "preview" answers what would be drawn without saving.
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": {
"what": "<what>"
},
"name": "draw_security_slate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sha | No | With files: the commit they were read at. | |
| mode | No | save (the default) writes; preview returns what would change and saves nothing. The response says which happened. | save |
| name | No | The new slate's name (without shareId). | |
| repo | No | With files: owner/name, for the title and links. | |
| what | Yes | ||
| files | No | Instead of architecture: the repository's files ({ path, text }), read by the architecture extractors (docker-compose, Kubernetes, Terraform, Helm, serverless). Only paths and names are kept, never the code. | |
| confirm | No | The confirmation id from a confirmation_required result, once the person agreed. | |
| shareId | No | Draw on this slate. Leave out to make a new private slate. | |
| projectId | No | Make the new slate in this project or folder (without shareId). | |
| architecture | No | A repository's architecture model, as the architecture extractors build it (paths and names only, never code). | |
| idempotencyKey | No | Send with confirm: the idempotencyKey from the confirmation_required result. |