Create cross-link
stride.create_cross_linkCreate a cross-module traceability link between two entities in the same project. Required: sourceType, sourceId, targetType, targetId (types: story|diagram|process|test_case|defect|adr|epic|component|sprint|release|quality_gate|test_suite|exploratory_session|legacy_system|process_step|process_insight|automation_item|ui_design|test_run; ids are UUIDs) and relationType (implements|tests|affects|blocks|depends_on|derived_from|covers|covers_ac|duplicate_of|related_to|cross_sprint|cross_epic|verifies_defect|has_design|realized_by|has_diagram|has_process). Direction matters for most relations (e.g. test_case —covers→ story, adr —affects→ story, test_case —verifies_defect→ defect); has_design/has_diagram/has_process are normalised to work item → design/diagram/process. Optional metadata (small JSON, e.g. { acId } for covers_ac — but prefer stride.create_test_case_from_ac for that). For story↔story BLOCKS/DEPENDS_ON/RELATED_TO use stride.create_story_relation instead.
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": {
"sourceType": "<sourceType>",
"sourceId": "<sourceId>",
"targetType": "<targetType>",
"targetId": "<targetId>",
"relationType": "<relationType>"
},
"name": "stride.create_cross_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| metadata | No | Optional small JSON attached to the link. | |
| sourceId | Yes | Source entity UUID. | |
| targetId | Yes | Target entity UUID (same project). | |
| sourceType | Yes | ||
| targetType | Yes | ||
| relationType | Yes |