Create a schedule
create_scheduleCreates cron-based scheduled tasks that run ordered steps in the server's timezone, such as daily restarts with timed console commands and power actions.
Instructions
Creates a scheduled task that runs its steps in order on a cron timing in the server's timezone, for example a daily restart: minute "0", hour "4", steps [command "say Restarting in 1 minute", then power "restart" after 60 seconds].
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"tasks": "<tasks>"
},
"name": "create_schedule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hour | No | Cron hour field, such as "4". Defaults to "*". | * |
| name | Yes | ||
| month | No | Cron month field, such as "*". Defaults to "*". | * |
| tasks | Yes | Steps to run, in order. | |
| active | No | ||
| minute | No | Cron minute field, such as "0". Defaults to "*". | * |
| server | No | Server identifier or UUID. Omit to use the configured server (PEBBLEHOST_SERVER_ID); other servers are refused unless PEBBLEHOST_ALLOW_ALL_SERVERS is set. | |
| day_of_week | No | Cron day of week (0 is Sunday) field, such as "1-5". Defaults to "*". | * |
| day_of_month | No | Cron day of month field, such as "1". Defaults to "*". | * |