Reschedule a job
reschedule_jobChange an existing job's date, time, or duration. Identify it by customer name or job ID, then provide new date, new time, or length in minutes.
Instructions
Change the date, time, or length of an existing job. Provide customerName (finds most recent scheduled job) OR jobId (exact match). Supply at least one of newDate, newTime, or durationMinutes. When moving the job, provide both newDate and newTime where possible. When the user only wants the appointment to block off more or less time (e.g. 'make Jon's appointment 3 hours', 'that job needs 90 minutes'), pass durationMinutes alone and leave the date and time out so the job stays where it is.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | No | Only use if you have the exact job ID. | |
| newDate | No | New date for the job. Omit to keep the job on its current date. | |
| newTime | No | New start time for the job. Omit to keep the job at its current start time. | |
| customerName | No | ALWAYS use this when user mentions a customer name. | |
| durationMinutes | No | How long the appointment should last, in minutes (e.g. 180 for 3 hours, 90 for an hour and a half). Set this whenever the user states or changes a length, including end times ('9:45am to 12:45pm' is 180). Omit to keep the length the job already has. |