Remove from merge train
remove_from_merge_trainTake a pull request out of its repository's Ankra merge train, by entry_id or pull_request_number. You must have put it in, or hold the authority an enqueue needs. An entry being merged, or that already left the train, is refused. Address the repository with exactly one of repository_id, application_id, or owner and repo. Needs pipelines.operate.
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": "remove_from_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. | |
| entry_id | No | The train entry, from get_merge_train. | |
| provider | No | Narrows owner and repo when the same repository is connected on two providers. | |
| 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 | The pull request whose active entry to take out, instead of entry_id. |