Set a flag
flags.setCreates or changes one flag of this branch's environment; apps read the change within a minute with no redeploy. Reversible: set it back the same way. Scope: projects:write.
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>",
"enabled": "<enabled>"
},
"name": "flags.set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Flag key: a letter, then lowercase letters, digits and underscores | |
| value | No | Optional text value the app reads | |
| branch | No | Branch (environment) id. Optional: defaults to `production`. | |
| enabled | Yes | On (true) or off (false) | |
| project_id | No | Project id. Optional: defaults to the project used last in this session, or the only one. | |
| description | No | Optional note for people | |
| organization_id | No | Organization id. Optional: defaults to the token's organization, or the only one you belong to. |