Prepare an instant booking
preparer_resaPrepares an instant booking and returns a prefilled payment link to getchef.fr. It does NOT hold the slot: the date stays available to others until the client pays on getchef.fr with their own card, and is held only once payment is made. When the menu offers a choice of dishes, the optional choix_plats parameter carries the alternatives chosen by the client, and the link arrives with the menu already composed. Without it, the client composes the menu on getchef.fr.
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": {
"chef_slug": "<chef_slug>",
"date": "<date>",
"moment": "<moment>",
"menu_id": "<menu_id>",
"convives": "<convives>"
},
"name": "preparer_resa"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Date of the event, in YYYY-MM-DD format, in the future | |
| moment | Yes | Service wanted: midi (lunch) or soir (dinner) | |
| menu_id | Yes | Identifier of the chosen menu, as returned by detail_chef. Only a menu whose reservable_immediatement is true can be booked here. | |
| convives | Yes | Number of guests, between 1 and 200. The menu may require a higher minimum. | |
| chef_slug | Yes | Chef identifier, as returned by rechercher_chefs or detail_chef | |
| choix_plats | No | Alternatives chosen for the courses offered with a choice, by their identifier as detail_chef returns it in services_au_choix. One dish per course, for the whole table, at most 12. Optional: without it, the link lets the client compose the menu on getchef.fr. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| erreur | No | Refusal message, written in French for the customer. Present ONLY on a refusal, never on a nominal response. | |
| donnees | Yes | ||
| ignores | No | Optional parameters the server could not read. They were discarded, the rest of the request was processed normally, and the same sentence appears at the start of prochaine_etape. | |
| resultats | No | Result counts. Absent on a refusal and on fallback branches. When "tronque" is true, this response does not carry all the items that match the request: "affiches" is what it contains, "total" is what was found. | |
| prochaine_etape | Yes | What the assistant can offer next. Present on ALL outputs, refusals included. |