Get Pipeline Config
get_pipeline_configRetrieve the pipelines configuration for a repository, including whether pipelines are enabled and the next build number, by supplying the repo slug.
Instructions
Get the repository pipelines configuration (enabled flag, next build number).
Note: this endpoint requires the admin:repository scope. A read-only token
receives a 403 listing the missing privilege.
Args: repo_slug: Repository slug workspace: Workspace name (optional, defaults to configured workspace)
Returns: Pipelines configuration (enabled, next_build_number)
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": "get_pipeline_config"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_slug | Yes | ||
| workspace | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |