Ask to book a person
request_appointmentSend a booking request to one person on Foundaree, for the user: "book this plumber for Saturday morning", "ask this dentist for an appointment". Use it only when the user asked to book or contact that person, and only with the user's OWN name and phone number, which they gave you: never guess or reuse another number. Before calling, tell the user what you will send and to whom, and get their yes. The person sees the request on Foundaree and by email, and calls the user back on that number if they can take it; nothing is confirmed until they do, so say that to the user. Find the username with search_people or match_people first. One open request per phone number and person; a few per number a day.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | No | Where the work is: the user's area or address hint, e.g. 'Kakkanad, near Infopark'. Optional. | |
| name | Yes | The user's own name, as they gave it. | |
| need | Yes | What the user needs done, in a sentence or two. | |
| when | Yes | When they would like it, in plain words, e.g. 'Saturday morning' or 'today after 5 pm'. | |
| phone | Yes | The user's own phone number, with country code when known, e.g. +91 98470 12345. The person calls back on it. | |
| username | Yes | Username of the person to book, from search_people, match_people or get_person. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sent | Yes | True when the request was stored for the person. | |
| person | No | ||
| message | Yes | What to tell the user. |