Azure DevOps MCP Server for Cline

get_work_item

Get work items by IDs

Input Schema

NameRequiredDescriptionDefault
$expandNoExpand options (None=0, Relations=1, Fields=2, Links=3, All=4)
asOfNoAs of a specific date (ISO 8601)
errorPolicyNoError policy (Fail=1, Omit=2)
fieldsNoFields to include (e.g., "System.Title", "System.State")
idsYesWork item IDs

Input Schema (JSON Schema)

{ "properties": { "$expand": { "description": "Expand options (None=0, Relations=1, Fields=2, Links=3, All=4)", "enum": [ 0, 1, 2, 3, 4 ], "type": "number" }, "asOf": { "description": "As of a specific date (ISO 8601)", "format": "date-time", "type": "string" }, "errorPolicy": { "description": "Error policy (Fail=1, Omit=2)", "enum": [ 1, 2 ], "type": "number" }, "fields": { "description": "Fields to include (e.g., \"System.Title\", \"System.State\")", "items": { "type": "string" }, "type": "array" }, "ids": { "description": "Work item IDs", "items": { "type": "number" }, "type": "array" } }, "required": [ "ids" ], "type": "object" }