List Pipeline Runs
list_pipeline_runsRetrieve pipeline runs from a Bitbucket repository with filters for status and target branch, supporting paginated results.
Instructions
List pipeline runs for a repository with pagination support.
Args: repo_slug: Repository slug workspace: Workspace name (optional, defaults to configured workspace) status: Filter pipelines by status (PENDING, IN_PROGRESS, SUCCESSFUL, FAILED, ERROR, STOPPED) target_branch: Filter pipelines by target branch page_size: Items per page (default: 30) max_pages: Maximum pages to fetch (default: 1, max recommended: 10)
Returns: List of pipeline runs
Note: Fetching more than 10 pages or 300 items will trigger a warning.
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": {
"repo_slug": "<repo_slug>"
},
"name": "list_pipeline_runs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | ||
| max_pages | No | ||
| page_size | No | ||
| repo_slug | Yes | ||
| workspace | No | ||
| target_branch | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |