Scheduled Tasks let you put your assistants and automations on autopilot. Instead of manually kicking off a task every time, you define when it should run and what should happen — and Toolbelt handles the rest.
Whether it's a daily standup digest, a weekly report, an hourly data sync, or a one-time reminder to follow up on a proposal, Scheduled Tasks turn your assistants and wrenches into proactive team members that work even when you're not watching.
Scheduled Tasks run automatically on a timetable, giving your assistants recurring responsibilities without requiring you to manually trigger conversations.
How it works#
When a Scheduled Task fires, Toolbelt:
- Creates an execution record tied to the task.
- Executes the task based on its configured mode (an assistant prompt or a direct wrench script).
- Records the response or output data, execution status, credits consumed, and duration.
- Notifies you when the run completes (or if an assistant turn needs your input to continue).
Each run is fully traceable. You can review the execution log, output payload, credit cost, and final status from the task's Execution History.
Execution Modes: Prompts vs. Direct Wrenches#
Scheduled Tasks support two execution modes depending on whether your automation requires generative reasoning or deterministic script execution:
| Mode | runType |
Description | Token Usage | Credits |
|---|---|---|---|---|
| Prompt | "prompt" (default) |
Opens a chat turn with the target assistant and submits your instruction. Best for analysis, creative synthesis, and triage. | Consumes model tokens. | Billed per model token rates. |
| Direct Wrench | "wrench" |
Executes a server-side JavaScript Wrench directly in background runtime. Best for data synchronization, ETL pipelines, and recurring maintenance. | Zero model tokens. | Zero LLM credits. |
Why run a Wrench directly?#
Many recurring operations do not require LLM reasoning. Fetching an API payload, calculating differences, backing up a DuckDB database, or cleaning up storage files are deterministic operations.
Running a wrench directly on a schedule offers three major benefits:
- Zero token cost: Execution runs in a secure JavaScript runtime without waking an AI model.
- Lower latency: Bypasses model queuing, inference time, and prompt generation.
- Predictable reliability: Eliminates model variance or hallucinated arguments during repetitive batch jobs.
Credit tracking and budget optimization#
Toolbelt tracks credit consumption for every schedule:
- Per-schedule summary: The Scheduled Tasks dashboard displays cumulative credits consumed across all historical runs, helping you see at a glance which recurring jobs drive spend.
- Per-run breakdown: Each execution record logs the exact credit cost associated with that specific run.
- Cost optimization: If a high-frequency prompt task performs repetitive data fetching, refactoring the data collection into a direct Wrench reduces its credit consumption to zero.
Wrench execution settings#
When setting runType: "wrench", configure the following fields:
- Target Wrench (
wrenchId): The unique identifier or name of the registered Wrench to execute. - Input Parameters (
wrenchInputs): A JSON object matching the Wrench's declaredinputSchema. These inputs are passed directly to the script at runtime. - Custom Timeout (
wrenchTimeoutSeconds): The maximum number of seconds the script is permitted to run before terminating.- Allowed range: 1 to 600 seconds (10 minutes).
- Default: 30 seconds.
Tip: Long-running batch jobs.
If your wrench processes large data payloads, paginates through hundreds of records, or queries external data stores, increasewrenchTimeoutSecondsbeyond the default 30-second threshold to prevent premature timeouts.
Schedule types#
Toolbelt provides recurring and one-time schedule presets:
Runs once at a specific date and time, then retires. Ideal for future-dated reminders or deferred follow-ups.
Runs every day at the time you specify. Good for morning digests, daily summaries, or recurring syncs.
Runs Monday through Friday at your configured time. Use this for business-day alerts, standup summaries, and triage handoffs.
Runs Saturday and Sunday at your configured time. Ideal for off-hours maintenance, weekend system health checks, and on-call handoffs.
Runs once a week on the day and time you choose. Use it for weekly reporting, review cycles, or recurring check-ins.
Runs once a month on the date and time you specify. Fits billing summaries, monthly snapshots, or periodic audits.
Creating a Scheduled Task#
- Choose an assistant
Select the assistant that owns or manages the scheduled task. Any assistant in your personal organization or an organization you belong to is eligible.
- Select the execution mode
Choose Assistant Prompt (prompt) to initiate an AI chat turn, or Direct Wrench (wrench) to execute a deterministic script.
- Configure the task payload
- For Prompt tasks, write what the assistant should do when the task fires. Be specific — the description becomes the first message in the assistant's chat session.
- For Direct Wrench tasks, select the target Wrench (
wrenchId), configure the input payload JSON (wrenchInputs), and optionally set a custom timeout (wrenchTimeoutSeconds, up to 600s).
- Set the schedule
Choose Once, Daily, Weekdays, Weekends, Weekly, or Monthly. Then set the target date and time (and day of week or day of month for recurring schedules).
- Set priority (optional)
Assign a priority level if the task competes with other work. Higher-priority tasks are surfaced more prominently in your task feed.
- Create
Confirm the task. Toolbelt registers the schedule trigger and the task becomes active immediately.
Task statuses#
| Status | Meaning |
|---|---|
scheduled |
The task is waiting for its next trigger time. |
running |
The task is actively executing. |
completed |
The task ran successfully and produced its response or wrench output. |
failed |
The run encountered an unrecoverable error. See the execution record for details. |
needs-info |
For prompt tasks: the assistant paused and is waiting for additional input before continuing. |
Managing Scheduled Tasks#
Pausing and resuming#
You can pause any active Scheduled Task without deleting it. While paused, the task won't fire at its scheduled time. Resume it when you're ready and it will pick up its normal cadence on the next scheduled trigger.
Editing a task#
You can update a task's description or wrench inputs, schedule, target assistant, priority, timeout, or active state at any time. Changes take effect on the next scheduled run — any in-progress execution completes under the old settings.
Deleting a task#
Deleting a Scheduled Task is permanent. The task is removed and its schedule trigger is unregistered. Existing execution history is preserved for reference, but the task will never run again.
Deleting a task cannot be undone. If you only want to stop it temporarily, use pause instead.
Execution history#
Every run of a Scheduled Task creates an execution record. From the Executions tab on a task, you can see:
- Status of each run (
completed,failed,needs-info) - Start and end times and total duration
- Credits used: The exact credit deduction for that run (or zero for direct wrenches)
- Output data: The assistant's text response for prompt tasks, or the structured wrench execution payload for wrench tasks
- Chat link: For prompt runs, a direct link to the chat session created for that execution
Execution history persists even after the task is deleted, so you always have a record of what ran.
Providing additional information#
Sometimes an assistant needs more context to complete a prompt task — it might ask a clarifying question or request data it doesn't have. When this happens, the execution status changes to needs-info.
To continue:
- Open the execution record from the task's Executions tab.
- Reply to the assistant's question in the execution record.
- The assistant resumes and the execution completes.
Until you respond, the task stays in needs-info state and future scheduled runs are queued normally.
Access and visibility#
- Personal tasks are private to you. No one else in your organization can see or trigger them.
- Organization tasks are visible to all members of that organization. Any organization admin can edit or delete them.
Error handling and retries#
Toolbelt automatically retries failed runs in certain scenarios:
| Failure type | Retry behavior |
|---|---|
| Rate limit hit | Retried after 10 minutes |
| Server error (5xx) | Retried after 5 minutes |
| Authentication error | Fails immediately — no retry |
| Wrench timeout | Fails immediately — review wrenchTimeoutSeconds or script efficiency |
If a run fails after retries, the execution status is set to failed and you'll see the error details in the execution record.
Example use cases#
- Direct Wrench data sync — Every hour on weekdays, a wrench fetches updated ticket numbers, aggregates metrics, and saves them to DuckDB with zero token consumption.
- Daily standup digest — Every weekday morning, your assistant pulls the latest updates from your tracking tools, summarizes open issues, and sends you a digest.
- Weekly reporting — Every Friday afternoon, your assistant compiles weekly metrics from your analytics tools and drafts an executive summary.
- Off-hours health check — On weekends, a wrench pings production service endpoints and alerts Slack if response latency exceeds thresholds.
