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 |
This adapter provides 4 MCP tool(s) for AI agent integration:
| Tool Name | Description |
|---|---|
| scheduler_schedule | Schedule 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_list | List the caller's pending scheduled events, soonest first. Each entry carries its handle, operation reference, next fire time and effective tracking; 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_cancel | Cancel a scheduled event by its handle, removing it before it fires. Only the event's owner may cancel it. |
| scheduler_trigger | Fire 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. Only the event's owner may trigger it. Returns the fired operation's result. |