query_work_items
Execute WIQL queries to retrieve and enrich Azure DevOps work items with ID, title, state, type, and effort tracking fields.
Instructions
Query work items via WIQL and return enriched data.
Executes a WIQL query and returns work item summaries with id, title, state, type, and effort tracking fields.
Args: project: Azure DevOps project name. wiql: WIQL query string. top: Optional maximum number of results. working_directory: Optional path for ADO context resolution.
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": {
"project": "<project>",
"wiql": "<wiql>",
"top": "<top>",
"working_directory": "<working_directory>"
},
"name": "query_work_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | ||
| wiql | Yes | ||
| top | Yes | ||
| working_directory | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |