Get merge train
get_merge_trainRead a repository's Ankra merge train: whether it is on, max_cars, auto-admit, the pull requests queued (entries, with position, status and the run testing each) and the ones that recently left it (recent, with the reason). pull_request_number narrows it to one pull request's history. Address the repository with exactly one of repository_id, application_id, or owner and repo. Read-only; needs pipelines.read.
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_merge_train"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | Repository name, with owner. | |
| owner | No | Repository owner (organisation or user), with repo, instead of repository_id. | |
| provider | No | Narrows owner and repo when the same repository is connected on two providers. | |
| recent_limit | No | How many settled entries to list, 1 to 200. | |
| 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. | |
| pull_request_number | No | Only this pull request's entries. |