Adapter Details: scheduler

Schedules grid operations to run at a future time. Returns a handle for each scheduled event so the owner can trigger it early, cancel it, or list pending events. Firing runs the operation with the authority captured when it was scheduled.

Name:scheduler
Class:covia.adapter.SchedulerAdapter

MCP Tools

This adapter provides 4 MCP tool(s) for AI agent integration:

Tool NameDescription
scheduler_listList the pending scheduled events of the caller's account that it may read (crud/read on <account>/x/schedule/<id>), soonest first. Each entry carries its handle, its id, operation reference, next fire time and effective tracking, plus who scheduled it, its input, its description and when it was scheduled, where recorded; a recurring event also carries its repeat spec, lastFired time and — when tracked — the lastJob ID of its most recent fire (read that Job for the outcome).
scheduler_cancelCancel a scheduled event by its handle, removing it before it fires. It needs schedule/manage on the event (<account>/x/schedule/<id>).
scheduler_scheduleSchedule a grid operation to run at a future time, once or on a fixed interval. Returns a handle used to trigger the event early or cancel it. The operation fires with the authority captured from the caller. A tracked fire is a durable Job in your job history; an untracked fire leaves no record beyond the log.
scheduler_triggerFire a scheduled event now, ahead of its time. A one-shot event is removed; a recurring one stays scheduled at its unchanged next fire time. It needs schedule/manage on the event (<account>/x/schedule/<id>). Returns the fired operation's result as a call to it would: an agent:request gives its task if the agent has not answered within the request's timeout, and at once when an agent triggers a request to itself.

Navigation

Back to all adapters

Back to index