Link diagram
stride.link_diagramLink an existing architecture diagram (ERD, BPMN, system context, …) to a story, defect, or epic (the canonical "has_diagram" relationship). Idempotent. Once linked, the diagram shows in the story’s get_story_context bundle under diagrams. The diagram and the work item must be in the same project.
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": {
"diagramId": "<diagramId>",
"issueType": "<issueType>",
"issueId": "<issueId>"
},
"name": "stride.link_diagram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issueId | Yes | UUID of the story / defect / epic. | |
| diagramId | Yes | UUID of the architecture diagram to link. | |
| issueType | Yes | Type of work item to link the diagram to. |