Generate process
stride.generate_processGenerate a BPMN business process for a story from its title + description + acceptance criteria. Models the flow (start, tasks, decisions, end), validates it with bpmnlint, and persists a draft process in the Optimize module linked to the story. Identify the story by ticket key (e.g. "ORB-526") or UUID. Optionally pass detail ("happy" | "full") and free-text guidance. 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_process"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | "happy" (core path, default) or "full" (include exception paths). | |
| storyId | Yes | Story ticket key like "ORB-526" (preferred) or a Stride UUID. | |
| instructions | No | Optional extra guidance (e.g. "model the refund branch"). |