Get Pipeline Variable
get_pipeline_variableRetrieve a specific pipeline variable for a Bitbucket repository by providing the repository slug and variable UUID. Returns the variable value, or null if the variable is secured.
Instructions
Get a single repository-level pipeline variable.
Args: repo_slug: Repository slug variable_uuid: Variable UUID workspace: Workspace name (optional, defaults to configured workspace)
Returns: Pipeline variable (value is null if secured)
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>",
"variable_uuid": "<variable_uuid>"
},
"name": "get_pipeline_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo_slug | Yes | ||
| workspace | No | ||
| variable_uuid | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |