List Related Work Items
relation_listList work items linked by a relation field from a source work item ID. Resolve relation metadata first if the relation ID or field key is unknown.
Instructions
List work items linked by a relation field. Call relation_meta_definitions first when relation_id or relation_field_key is unknown.
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": {
"work_item_id": "<work_item_id>"
},
"name": "relation_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | No | Optional node ID when querying relations under a specific node. | |
| page_num | No | ||
| page_size | No | Optional page size, maximum 50. | |
| project_key | No | Project key. Always pass explicitly in multi-project usage; resolve it with project_search first when missing. | |
| relation_id | No | Optional relation ID from relation_meta_definitions. | |
| work_item_id | Yes | Source work item ID. | |
| relation_field_key | No | Optional relation field key from relation_meta_definitions. |