azdo_query_work_items_by_wiql
Query Azure DevOps work items by writing a WIQL query. Filter on fields such as state, assignee, or type, and optionally include comments.
Instructions
Query work items using WIQL
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": {
"organization": "<organization>",
"project": "<project>",
"query": "<query>"
},
"name": "azdo_query_work_items_by_wiql"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | WIQL query string (e.g., "SELECT [System.Id] FROM WorkItems WHERE [System.State] = 'Active'") | |
| project | Yes | AzDO project name | |
| organization | Yes | AzDO org name | |
| include_latest_n_comments | No | Include the latest N comments (optional). Set to -1 for all comments. |