azuredevops_search_work_items
Search Azure DevOps work items via WIQL queries. Provide a project name and query string to retrieve matching items.
Instructions
Search for Azure DevOps work items using WIQL (Work Item Query Language). Returns a list of work items matching the query. Project is required - discover it from project context or use azuredevops_list_projects.
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>",
"project": "<project>"
},
"name": "azuredevops_search_work_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wiql | Yes | WIQL query string (e.g., "SELECT [System.Id], [System.Title] FROM WorkItems WHERE [System.WorkItemType] = 'Bug'") | |
| project | Yes | Azure DevOps project name (required - discover from project context) | |
| maxResults | No | Maximum results to return (default: 50, max: 200) |