pipeline_timeline
Retrieve the stage and job timeline for an Azure DevOps pipeline run, filtering by state or result to reduce returned data; identify runs by runId or pipeline name plus build number.
Instructions
Retrieve the timeline of stages and jobs for a pipeline run, to reduce the amount of data returned, you can filter by state and result. The run can be identified by runId or by pipelineName (or pipelineId) plus buildNumber.
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": "pipeline_timeline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| runId | No | Pipeline run (build) ID. Alternatively provide buildNumber together with pipelineName or pipelineId | |
| state | No | Optional state filter (single value or array) applied to returned timeline records | |
| result | No | Optional result filter (single value or array) applied to returned timeline records | |
| projectId | No | The ID or name of the project (Default: MyProject) | |
| pipelineId | No | Optional pipeline numeric ID; scopes buildNumber lookups | |
| timelineId | No | Optional timeline identifier to select a specific timeline record | |
| buildNumber | No | Build number / run name as shown in the Azure DevOps UI (e.g. "20240115.3"). Alternative to runId; combine with pipelineName or pipelineId to make it unambiguous. | |
| pipelineName | No | Pipeline (build definition) name, as shown in the Azure DevOps UI. Alternative to pipelineId. Prefix it with its folder path to disambiguate pipelines that share a name (e.g. "Backend/Deploy"; "/Deploy" for the root folder). |