get_work_item_revisions
Retrieve a work item's revision history or fetch a specific revision by number to inspect changes and track updates in Azure DevOps.
Instructions
Get revision history for a work item, or fetch a single specific revision by revisionNumber
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_revisions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Maximum number of revisions to return (1-200, default: 50). Ignored when revisionNumber is provided. | |
| skip | No | Number of revisions to skip (non-negative integer). Ignored when revisionNumber is provided. | |
| expand | No | The level of detail to include in the revision response (default: "none") | none |
| projectId | No | The ID or name of the project (defaults to AZURE_DEVOPS_DEFAULT_PROJECT) | |
| workItemId | Yes | The ID of the work item to retrieve revisions for | |
| organizationId | No | The ID or name of the organization (defaults to configured organization) | |
| revisionNumber | No | Specific revision number to fetch. When provided, returns only that single revision. |