Send a quote request
creer_demande_devisSends a quote request to the GetChef team, for a custom event or a service that is not bookable instantly. The team calls the client back on the phone number given; it books nothing on its own. Works in two calls: without jeton_confirmation, nothing is sent and the response carries the summary of what would be transmitted (recapitulatif) and a jeton_confirmation; the request is sent only by a call with the same fields plus that jeton_confirmation, once the client has approved the summary. Two calls with the same cle_idempotence and the same content never create two requests: the second returns only the status of the first, never its data.
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": {
"nom": "<nom>",
"telephone": "<telephone>",
"ville": "<ville>",
"cle_idempotence": "<cle_idempotence>"
},
"name": "creer_demande_devis"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nom | Yes | Client's first name (or name) | |
| date | No | Requested date. Only the forms YYYY-MM-DD and DD/MM/YYYY are recorded as the event date; in any other form the date stays in the message read by the team, without a usable event date. | |
| No | Client's email, recommended to send them the quote | ||
| ville | Yes | City of the event | |
| budget | No | Indicative budget, as the client expressed it | |
| langue | No | Language the client writes in: fr or en. Sets the language of the card labels and of the reputation sentence. French when absent. | |
| regime | No | Dietary requirements or allergies to respect | |
| convives | No | Number of guests, between 1 and 200 | |
| occasion | No | Occasion, for example birthday, business dinner or wedding | |
| telephone | Yes | Client's phone number, required: the team calls the client back on it | |
| commentaire | No | Anything else the client specified that fits no other field. Read by a person. | |
| chef_souhaite | No | Name of the chef the client wants, if any | |
| cle_idempotence | Yes | Unique identifier of this request, reused as is on every attempt of the same request | |
| jeton_confirmation | No | Token returned by the first call with the summary. Present only once the client has approved that summary; the request is sent only with it. |
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. |