{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Applies a partial update to lightweight flag fields: `enabled`, `description`, `metadata`, and `default_variation`. Only fields present in the request body are modified; omitted fields are preserved. `metadata: null` or an empty object clears metadata. `default_variation` must exist in the current `variations`. Structural changes to `variations` and `rules` use PUT. A changelog entry is appended when the flag content actually changes.","properties":{"path":{"type":"object","properties":{"account_id":{"description":"Cloudflare account ID that owns the Flagship app.","type":"string"},"app_id":{"description":"Flagship app ID returned when the app was created.","type":"string"},"flag_key":{"description":"Case-sensitive key identifying the flag within the app.","type":"string"}},"required":["account_id","app_id","flag_key"],"additionalProperties":false},"body":{"type":"object","properties":{"default_variation":{"description":"Variation the API serves when the flag is off, or when it's on but no rule matches the context. Must be a key in `variations`.","type":"string","minLength":1},"description":{"description":"Optional operator-facing description. It does not affect flag evaluation.","type":["string","null"],"maxLength":512},"enabled":{"description":"When false, the flag bypasses all rules and always serves `default_variation`.","type":"boolean"},"metadata":{"description":"Key-value metadata associated with the flag. `null` or an empty object clears existing metadata; omission semantics depend on the endpoint (PUT clears it, PATCH preserves it).","type":["object","null"],"additionalProperties":{"anyOf":[{"type":"boolean"},{"type":"string"},{"type":"number"}]},"maxProperties":32}},"additionalProperties":false}},"required":["path","body"],"additionalProperties":false},"name":"Partially update flag","id":"cloudflare.flagship_patch_flag","example":{"path":{"account_id":"example","app_id":"example","flag_key":"example"},"body":{}},"maxRequests":1,"summary":false}}