toggle_flag
Manage feature flag states with precision by enabling or disabling flags in specific namespaces using the toggle tool on the Flipt MCP Server, ensuring dynamic control over application features.
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": {
"namespaceKey": "<namespaceKey>",
"flagKey": "<flagKey>",
"enabled": "<enabled>"
},
"name": "toggle_flag"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | ||
| flagKey | Yes | ||
| namespaceKey | Yes |