query_work_items
Retrieve Azure DevOps work items using WIQL queries to filter, search, and manage project tasks across multiple projects.
Instructions
Query work items using WIQL (Work Item Query Language)
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 |
|---|---|---|---|
| project | No | Project name (default: YourProject). Specify any project name in your organization | |
| wiql | Yes | WIQL query string | |
| $top | No | Max results |