create_cron_job
Run a command in a sandbox on a schedule. With agent_mode the command is a prompt to the sandbox's agent instead of a shell command.
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": {
"sandbox_id": "<sandbox_id>",
"schedule": "<schedule>",
"command": "<command>"
},
"name": "create_cron_job"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | label for the job | |
| command | Yes | command to run, or the prompt with agent_mode | |
| schedule | Yes | cron expression, e.g. 0 2 * * * | |
| timezone | No | IANA zone the schedule is read in; default UTC | |
| agent_mode | No | guided or autonomous | |
| sandbox_id | Yes | sandbox id, not its name |