Create Schedule Task
pterodactyl_create_schedule_taskAdd a command, power action, or backup task to an existing Pterodactyl schedule with time offset and continue-on-failure options.
Instructions
Add a task to an existing schedule.
Task actions:
'command': Runs a console command (payload is the command string)
'power': Sends a power action (payload is start/stop/restart/kill)
'backup': Creates a backup (payload is comma-separated ignored files or empty)
Args:
server (string): Server identifier
schedule (number): Schedule ID
action ('command' | 'power' | 'backup'): Task action type
payload (string): Action payload
time_offset (number): Seconds after schedule start (default: 0)
continue_on_failure (boolean): Continue subsequent tasks on failure (default: false)
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": {
"server": "<server>",
"schedule": "<schedule>",
"action": "<action>",
"payload": "<payload>"
},
"name": "pterodactyl_create_schedule_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Task action: 'command' (console cmd), 'power' (start/stop/restart/kill), or 'backup' | |
| server | Yes | Server identifier (short ID like 'abc12345') | |
| payload | Yes | Payload: console command (if action='command'), power signal (if action='power'), or ignored files (if action='backup') | |
| schedule | Yes | Schedule ID | |
| time_offset | No | Seconds offset from schedule start (default 0) | |
| continue_on_failure | No | Continue subsequent tasks if this one fails |