Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

1.3 KB
Raw Blame
{
  "type": "object",
  "properties": {
    "action": {
      "type": "string",
      "enum": [
        "create",
        "add",
        "once",
        "list",
        "get",
        "cancel",
        "remove",
        "pause",
        "resume"
      ],
      "description": "Action to perform"
    },
    "expression": {
      "type": "string",
      "description": "Cron expression for recurring tasks (e.g. '*/5 * * * *')."
    },
    "delay": {
      "type": "string",
      "description": "Delay for one-shot tasks (e.g. '30m', '2h', '1d')."
    },
    "run_at": {
      "type": "string",
      "description": "Absolute RFC3339 time for one-shot tasks (e.g. '2030-01-01T00:00:00Z')."
    },
    "command": {
      "type": "string",
      "description": "Shell command to execute. Use 'command' for shell jobs OR 'prompt' for agent jobs."
    },
    "prompt": {
      "type": "string",
      "description": "Agent prompt for recurring agent tasks (e.g. reminders, briefings). Use this instead of 'command' for user-facing notifications."
    },
    "name": {
      "type": "string",
      "description": "Short human-readable name for the job (e.g. 'drink_water_reminder'). Always provide a name."
    },
    "id": {
      "type": "string",
      "description": "Task ID. Required for get/cancel/remove/pause/resume."
    }
  },
  "required": [
    "action"
  ]
}