create_schedule
Create Schedule ·writes · non-destructive · non-idempotent · closed-world
Create a time-driven agent schedule that runs a prompt on a cron expression
(minimum 1 hour interval). For event-driven agents use create_trigger instead.
Returns: str
Source: backend/src/engram/mcp/tools/schedules.py
Parameters
Schedule name (lowercase, alphanumeric/hyphens/underscores, 1-63 chars).
Standard 5-field cron expression (e.g. ‘0 8 * * 1’ for Monday 08:00). Minimum interval is 1 hour.
Name of an existing custom prompt to run.
Optional template text injected into the prompt at execution.
IANA timezone (default: UTC). E.g. ‘America/New_York’, ‘Europe/London’.
‘log_only’ (default), ‘propose_action’, or ‘auto_execute’. ‘propose_action’ asks the LLM for a structured JSON envelope and writes any non-null proposed_action into pending_actions for user approval via the authenticated pending-action approval endpoint. ‘auto_execute’ runs the proposed action immediately (no approval step); requires auto_execute_confirmed=True. Use ‘propose_action’ if you want approval-gated writes.
Required True when action_on_result=‘auto_execute’. Explicit per-schedule opt-in acknowledging that each cron firing performs a write to an external system (or internal mutation) without further approval. Ignored for other action_on_result values.
delete_schedule
Delete Schedule ·writes · destructive · idempotent · closed-world
Delete a scheduled agent by name. Stops future cron firings; past execution history
is preserved.
Returns: str
Source: backend/src/engram/mcp/tools/schedules.py
Parameters
Name of the schedule to delete.
get_schedule_history
Get Schedule History ·read-only · non-destructive · idempotent · closed-world
View recent execution history for a scheduled agent
(status, duration, result summary, errors).
Returns: str
Source: backend/src/engram/mcp/tools/schedules.py
Parameters
Name of the schedule to view history for.
Number of recent runs to return (default: 10, max: 50).
update_schedule
Update Schedule ·writes · non-destructive · idempotent · closed-world
Update fields on an existing scheduled agent (cron expression, prompt,
context template, timezone, enabled flag, action_on_result mode).
Returns: str
Source: backend/src/engram/mcp/tools/schedules.py
Parameters
Name of the schedule to update.
New cron expression (optional).
New prompt name (optional).
New context template (optional, empty string to clear).
New timezone (optional).
‘true’ or ‘false’ (optional).
‘log_only’, ‘propose_action’, or ‘auto_execute’ (optional).
Required True when switching action_on_result to ‘auto_execute’. Explicit per-schedule opt-in acknowledging each run executes a write without further approval. Ignored for other values.