Connect pipeline repository
connect_pipeline_repositoryConnect a repository to Ankra Pipelines so pushes, pull requests, tags, schedules and the merge train start runs from its committed .ankra/pipeline.yaml (read at connect time and reported as definition). A repository already connected is refused with its id. workspaces_only connects it for Ankra Workspaces alone, with no runs. Needs pipelines.manage.
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": {
"owner": "<owner>",
"repo": "<repo>"
},
"name": "connect_pipeline_repository"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Repository name. | |
| owner | Yes | Repository owner (organisation or user). | |
| provider | No | Source control provider (default github). | |
| cluster_id | No | A CI cluster for this repository's runs instead of the organisation's CI cluster. | |
| application_id | No | An application to link the repository to. | |
| default_branch | No | Branch the pipeline file is read from (default main). | |
| credential_name | No | The organisation credential Ankra reads the repository with. | |
| workspaces_only | No | Connect for Ankra Workspaces only: no run is ever started (default false). |