schedule_visit
Schedule a care visit for a client with a carer, ensuring valid date, time, and duration, and preventing double-booking.
Instructions
Schedule a care visit. Input is strictly validated (Pydantic).
Rejects past dates, malformed times, and out-of-range durations before anything touches the database. Refuses to double-book a carer at an already-scheduled date and start time.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| request | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||