Get pipeline report
get_pipeline_reportRead one report about a connected repository's Ankra pipeline. report picks it: test_history (one test's outcomes and flaky rate over recent runs of a branch; needs test_key), test_timings (mean duration per file or per test of one stage; needs stage), test_quarantine (the quarantine settings, the quarantined tests and the recently released ones), test_quarantine_candidates (flaky tests of the default branch that reach the thresholds and are not quarantined), caches (the repository's pipeline caches with size, last use and expiry), branches (each ref with its latest run and run counts), run_artifacts (the artifacts a run stored; needs pipeline_run_id) and run_findings (the code and container findings at a run's commit; needs pipeline_run_id). Address the repository with exactly one of repository_id, application_id, or owner and repo. Read-only; needs pipelines.read.
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": {
"report": "<report>"
},
"name": "get_pipeline_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | Repository name, with owner. | |
| runs | No | test_history and test_timings only: how many recent runs to read, 1 to 100 (default 30). | |
| limit | No | How many rows of a listing report to return, 1 to 100; has_more says when there are more. | |
| owner | No | Repository owner (organisation or user), with repo, instead of repository_id. | |
| stage | No | The pipeline stage, for test_timings. | |
| branch | No | test_history and test_timings only: the branch to read; omitted reads the repository's default branch. | |
| report | Yes | Which report to read. | |
| group_by | No | test_timings only: mean per file (the default) or per test. | |
| provider | No | Narrows owner and repo when the same repository is connected on two providers. | |
| test_key | No | The test's key, for test_history (the quarantine reports carry it). | |
| repository_id | No | The connected repository's id, from list_pipeline_repositories. | |
| application_id | No | An application whose linked repository to address, instead of repository_id. | |
| pipeline_run_id | No | The run, for run_artifacts and run_findings. |