Turn a flag on or off
toggle_flagTurns a flag on or off in one environment. In environments that need approval this returns an approvalUrl for a person.
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": {
"key": "<key>",
"environment": "<environment>",
"enabled": "<enabled>"
},
"name": "toggle_flag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | ||
| reason | No | ||
| enabled | Yes | ||
| environment | Yes | ||
| watchPlanId | No | A Release Watch plan from suggest_watch_plan: it starts watching when this change is applied |