get_work_item
Retrieve Azure DevOps work item details by ID to access project information, fields, and relations for tracking development tasks.
Instructions
Get work item details by ID
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": {
"workItemId": "<workItemId>"
},
"name": "get_work_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | Project name (default: YourProject). Specify any project name in your organization | |
| workItemId | Yes | Work item ID | |
| fields | No | Comma-separated field names | |
| expand | No | Expand options: all, relations, fields | all |