list_work_items
Lists work items in an Azure DevOps project using WIQL or saved queries, with optional field selection, filtering, and paging controls.
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: MyProject) | |
| organizationId | No | The ID or name of the organization (Default: mycompany) |