Generate diagram
stride.generate_diagramGenerate an architecture diagram for a story from its title + description + acceptance criteria. Pick a type (System Context / Container / Component / Deployment / Sequence / Data Flow / ERD / State Machine / BPMN) or pass "AUTO" to let Stride choose. Persists a draft diagram in the Design module and links it to the story. Identify the story by ticket key (e.g. "ORB-526") or UUID. Can take up to ~4 minutes, longer than many MCP clients wait. If it is still running after about 52 seconds this tool answers "still running" with a toolCallId and finishes in the background, saving the result when done. Meanwhile a repeat call for the same story (for a refine, the same option) starts nothing and answers "still running" again; stride.get_tool_call_status follows the run: given that toolCallId and waitSeconds 40 it waits for the run (a 3-minute run takes about 5 calls) and returns the result once it is saved, or says it failed. Cancelling the call before it answers stops the run and saves nothing.
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": {
"storyId": "<storyId>"
},
"name": "stride.generate_diagram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| storyId | Yes | Story ticket key like "ORB-526" (preferred) or a Stride UUID. | |
| diagramType | No | Diagram type, or "AUTO" (default) to let Stride classify the best fit. | |
| instructions | No | Optional extra guidance (e.g. "focus on the payment flow"). |