Set Feature Flag Schedule
set_flag_scheduleSchedule a future state transition on a feature flag, by KEY. The flag keeps its current state until the timestamp, then moves to the scheduled state. Arguments: key, at (an ISO-8601 timestamp such as 2026-09-01T09:00:00Z), and state (off | on | on-with-rule). Setting a schedule replaces any existing one; use clear_flag_schedule to remove it. This writes the scheduled transition onto the flag — it does not change the current state, so the flag behaves exactly as before until the timer fires. Fails with FLAG_NOT_FOUND when no flag has the given key. Before writing app code that consumes this, call get_integration_guide with topic=feature-flags and the framework the app uses.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | Yes | ISO-8601 timestamp at which the transition fires, e.g. "2026-09-01T09:00:00Z". | |
| app | No | Id of the Bridge app to act on for this call (see list_apps). Omit to use the current app. | |
| key | Yes | Flag KEY to schedule (see list_feature_flags). | |
| state | Yes | State the flag moves to when the timer fires. |