Skip to content

Scheduler & Agent Tools

Schedule tasks, delegate work, and distill conversations into flows

These tools handle scheduled execution, parallel task delegation, conversation-to-flow distillation, and skill loading.

Create a scheduled job that runs on a cron schedule.

ParameterTypeRequiredDescription
namestringYesDescriptive job name
modestringYesroutine or adaptive
schedulestringYes5-field cron expression (e.g., 0 9 * * 1-5)
timezonestringNoIANA timezone (e.g., America/New_York)
flowstringNoFlow name (required for routine mode)
paramsobjectNoFlow parameters
instructionsstringNoAI instructions (required for adaptive mode)
channelstringNoDelivery channel label
targetstringNoTarget ID for delivery
test_firstboolNoRun immediately to test before confirming the schedule

Runs a saved flow with fixed parameters on schedule. Every execution is deterministic and repeatable. Use this when the steps are known and stable.

schedule_job(
name: "daily-report",
mode: "routine",
schedule: "0 9 * * 1-5",
timezone: "America/New_York",
flow: "generate-sales-report",
params: { period: "daily", format: "pdf" }
)

Gives the AI agent a set of instructions and lets it figure out how to accomplish the task. Each execution can differ based on current state, new data, or changed conditions.

schedule_job(
name: "competitor-monitor",
mode: "adaptive",
schedule: "0 8 * * *",
instructions: "Check competitor pricing pages and summarize any changes since yesterday.",
channel: "slack",
target: "#pricing-alerts"
)

List all scheduled jobs with their status, next run time, and configuration. No parameters.

Remove a scheduled job by its ID or name.

ParameterTypeRequiredDescription
idstringYesJob ID or name

Update an existing scheduled job. Enable, disable, reschedule, or rename.

ParameterTypeRequiredDescription
idstringYesJob ID or name
enabledboolNoEnable or disable the job
schedulestringNoNew cron expression
timezonestringNoNew IANA timezone
namestringNoNew job name

Spawn parallel sub-agents to handle independent tasks concurrently.

ParameterTypeRequiredDescription
tasksarrayYesArray of task objects

Each task object:

FieldTypeRequiredDescription
namestringYesTask identifier
taskstringYesTask description / prompt
instructionsstringNoAdditional instructions for the sub-agent
toolsstring[]NoRestrict which tools the sub-agent can use

Each sub-agent runs in an isolated session with read-only access to the parent’s memory and a filtered set of tools. Tasks time out after 5 minutes. A maximum of 10 tasks can be dispatched per call.

Convert the current conversation into a reusable flow YAML file. Analyzes the tool calls from the session trace and produces a deterministic workflow that can be saved and replayed with schedule_job in routine mode.

No parameters. Distills from the current session.

Load a skill guide by name. The agent uses this to learn how to operate a CLI tool or service before executing commands.

ParameterTypeRequiredDescription
namestringYesSkill name (e.g., github, docker, git, aws)