Skip to main content
POST
Create a schedule

Authorizations

x-api-key
string
header
required

Body

application/json

Create a schedule that periodically runs tool_name with tool_kwargs on the cadence in schedule_kwargs.

state_binding is the OPTIONAL door-layer binding the recurring fire applies. Unlike the per-schedule subject (a free key inside tool_kwargs that legitimately reaches the base tool), it is a top-level field: it is injected into the dispatched arguments as a reserved key the kit's schedule_task wrapper stamps under a backend arg and pops before the base tool runs, so the tool never sees it.

tool_name
string
required
Minimum string length: 1
schedule_kwargs
Schedule Kwargs · object
state_binding
StateBinding · object | null

The optional binding a door carries: one or more :class:StateAttach entries. Frozen.

The same shape is stored on PresetBody/PresetSeed, TargetConversationConfig, HookRegister and ScheduleCreate, deposited on ToolInvocation through the ambient dispatch context, and repeated per node by a flow engine.

tool_kwargs
Tool Kwargs · object

Response

Success.

data
any
required

The deliberate "any JSON value" marker for a genuinely-open body — a tool or upstream passthrough whose shape is not fixed. A named subclass, never a bare alias: the emitter registers a component under model.__name__, so only a real class yields a stable, unique component name. Reach for it ONLY for a genuinely-open body, never as a shortcut past authoring a real model.