Query work items
query_work_itemsRun read-only WIQL queries to fetch matching Azure Boards work items and their details.
Instructions
Run a read-only WIQL SELECT query and resolve matching Azure Boards work item details.
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": {
"wiql": "<wiql>"
},
"name": "query_work_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Maximum query results; defaults to 100. | |
| wiql | Yes | ||
| fields | No | Optional Azure Boards field reference names, for example System.Title or System.Description. | |
| project | No | Project name or ID. Uses AZURE_DEVOPS_DEFAULT_PROJECT when omitted. | |
| timePrecision | No |