update_deadline
Change a queued task's deadline to reschedule it in a low-carbon energy window. Fails if the task is running or the deadline is past.
Instructions
Re-score and reschedule a queued or scheduled task against a new deadline; the scheduler re-picks the cleanest window inside it. Throws if the task is already running or terminal, or if the new deadline is invalid or in the past.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | The id of the task to reschedule. | |
| deadline | Yes | New ISO-8601 deadline. Must be in the future. |