list_pipeline_runs
Lists recent runs for a specific pipeline, with filters for branch, state, result, and creation date to help review build history and troubleshoot failures.
Instructions
List recent runs for a pipeline
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": {
"pipelineId": "<pipelineId>",
"top": "<top>",
"orderBy": "<orderBy>"
},
"name": "list_pipeline_runs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | Yes | Maximum number of runs to return (1-100) | |
| state | No | Filter by current run state | |
| branch | No | Branch to filter by (e.g., "main" or "refs/heads/main") | |
| result | No | Filter by final run result | |
| orderBy | Yes | Sort order for run creation date | createdDate desc |
| createdTo | No | Filter runs created at or before this time (ISO 8601) | |
| projectId | No | The ID or name of the project (Default: no default project) | |
| pipelineId | Yes | Pipeline numeric ID | |
| createdFrom | No | Filter runs created at or after this time (ISO 8601) | |
| continuationToken | No | Continuation token for pagination |