set_plan_variable
Set or update a plan variable in Bamboo CI/CD to dynamically configure builds without modifying plan definitions.
Instructions
Create or update a plan variable.
Args: plan_key: The plan key (e.g., 'PROJ-PLAN') variable_name: Variable name variable_value: Variable value
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": {
"plan_key": "<plan_key>",
"variable_name": "<variable_name>",
"variable_value": "<variable_value>"
},
"name": "set_plan_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_key | Yes | ||
| variable_name | Yes | ||
| variable_value | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |