list_work_items
Retrieve work items from an Azure DevOps project using a WIQL query, saved query ID, or project scope, with options to paginate results and include additional fields.
Instructions
List work items in a project
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_work_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Maximum number of work items to return | |
| skip | No | Number of work items to skip | |
| wiql | No | Work Item Query Language (WIQL) query | |
| fields | No | List of additional fields to include in the response beyond the defaults (System.Id, System.Title, System.State, System.AssignedTo). Use full field reference names, e.g. "Microsoft.VSTS.Scheduling.StoryPoints", "System.IterationPath", "System.AreaPath". | |
| teamId | No | The ID of the team | |
| queryId | No | ID of a saved work item query | |
| projectId | No | The ID or name of the project (Default: no default project) | |
| organizationId | No | The ID or name of the organization (Default: example-org) |