Ask the clinic
send_inquirySend one clinic a question or a call-back request for a person when a booking does not fit: a treatment the clinic books after a consultation, a question the facts do not answer, or "call me". Give clinic_id, the message in the person's words, their name and mobile number or email, and treatment_id when it is about one. A code goes to the person with the clinic's privacy notice; then confirm_with_code sends it to the clinic's inbox. The clinic contacts the person: never promise a time.
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": {
"message": "<message>",
"name": "<name>"
},
"name": "send_inquiry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The person's full name, as they say it. | |
| No | The person's email address. Optional. | ||
| phone | No | The person's mobile number. The code goes there; without one, to the email. | |
| locale | No | Answer language: nb (Norwegian) or en. | nb |
| message | Yes | The question or request in the person's own words. | |
| callback | No | true: the person asks the clinic to call them back. | |
| clinic_id | No | The clinic_id find_clinics returns. Never build it from a name. A clinic site needs none. | |
| treatment_id | No | The treatment it is about, from search_treatments. | |
| preferred_contact | No | How the person wants the answer; a call-back is by phone. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | Yes | code_sent: ask the person for the code, then call confirm_with_code. | |
| channel | Yes | sms or email. | |
| inquiry | Yes | ||
| expires_at | Yes | When the code stops working. | |
| code_sent_to | Yes | The masked phone or email the code went to. | |
| confirmation_id | Yes | Pass it to confirm_with_code with the code. |