get_analytics_schema
Inspect Azure DevOps Analytics OData metadata to list available entity sets or view properties, Custom_* fields, and navigation properties for a selected entity set.
Instructions
Inspect Azure DevOps Analytics OData $metadata schema to list available entity sets or inspect exact properties, Custom_* fields, and navigation properties of a chosen entity set (supports Cloud and on-prem Server).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_analytics_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Analytics query scope: "project" (recommended default) or "organization" (org/collection-wide metadata). | project |
| version | No | Azure DevOps Analytics OData version (default: "v3.0-preview" for Cloud + Server 2019/2020/2022 compatibility; "v4.0-preview" adds pool capacity snapshots). | v3.0-preview |
| entitySet | No | Optional OData entity set name to inspect in detail (e.g. "WorkItems", "PipelineRuns", "TestResultsDaily"). Omit to list all available entity sets. | |
| projectId | No | Project ID or name (defaults to AZURE_DEVOPS_DEFAULT_PROJECT when scope is "project"). | |
| organizationId | No | Optional Azure DevOps organization (Cloud) or collection (Server) override. |