Get work item
get_work_itemFetch a specific work item's full details, including metadata, rich-text content, relations, and optional comments.
Instructions
Get a single work item: metadata (type, title, state, assignee, area/iteration, tags, dates), rich-text content (description, repro steps, acceptance criteria), relations (parent/children/links) and optionally its comments.
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": {
"id": "<id>"
},
"name": "get_work_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Work item id | |
| expand | No | Which extra data to expand when `fields` is not given. | all |
| fields | No | Restrict returned fields to these reference names (e.g. System.Title, System.State). When omitted, all fields plus relations are returned. | |
| format | No | How to return rich-text fields (Description, Repro Steps, comments): converted to plain text/markdown, or raw HTML. | text |
| project | No | Team project name or id. Overrides TFS_DEFAULT_PROJECT. Work items and repos may live in different projects. | |
| includeComments | No | Also fetch the discussion comments. |