Run a scheduled job now
tzcloud_run_scheduleStart one declared schedule now as a manual run. You get running at once. Read its result with tzcloud_read_schedules. Deploy or promote after declaring it, or get schedule_not_deployed. Resume a halted environment first (target_environment_halted). Each call is metered. A run is one backend action. It refuses run_in_flight while the schedule's last run is running. A manual run leaves the timetable and next_due unchanged. A retry checks the gates again. The same request_id returns the same run. wait_seconds waits for it to end. The account owner must have requested or agreed to this production run. Development needs no ask.
An answer not from this platform, such as a gateway error page or closed connection, gives no start outcome. First call tzcloud_read_schedules. Repeat only with the same request_id: it returns the first run or starts one if none started.
woke is true if the run woke the app, false if already running, or null (unknown, no action).
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": {
"application": "<application>",
"schedule": "<schedule>",
"request_id": "<request_id>"
},
"name": "tzcloud_run_schedule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| due_at | No | UTC instant in RFC 3339 at a whole minute the schedule's cron yields, at or before this call and within run-record retention. It is the run's due instant. The run is manual. Its `trigger` is `manual`. Other values are refused `invalid_request`, saying why. | |
| schedule | Yes | The nonempty name of a schedule declared for the environment; until a deploy or promote since its declaration carries it, the run is refused `schedule_not_deployed`. | |
| request_id | Yes | A nonempty id for this request, reused only to retry it, since a repeated value returns the earlier run of any schedule or environment of the application. | |
| application | Yes | Your account's application `id` from `tzcloud_list_applications`, not its name or label. | |
| environment | No | `development` or `production`, production if absent or empty; development on one environment draws `environment_not_created`. | |
| wait_seconds | No | Seconds to hold the answer until the run this call returns ends; a value out of range is refused `invalid_request`. |