Make a free trial booking link
create_booking_linkA link the PARENT opens to book the free trial class: the Codinzy booking page with the chosen time selected (pass the slot from get_free_trial_times) and, if given, their phone number filled in. This tool books NOTHING and holds nothing: tell the parent to open the link, check the details and press "Book my free class". Without a phone number the page asks for it first, then shows the 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": {
"grade": "<grade>"
},
"name": "create_booking_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slot | No | The `slot_token` of the time the parent picked (from get_free_trial_times) | |
| grade | Yes | The child's school grade, 1-12 | |
| phone | No | Parent's mobile number in E.164, e.g. +8801712345678 (optional; used for the class link on WhatsApp) | |
| country | No | ISO code or name of the country the family lives in (optional) | |
| timezone | No | IANA time zone the parent uses (optional; the booking page shows times in it) | |
| utm_source | No | Who is asking, e.g. chatgpt.com |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| booking_url | Yes | Give this link to the parent; they open it and press Book | |
| slot_status | Yes | free: the time is selected on the page; taken/started/invalid: the link has no time, offer other times (call get_free_trial_times again); no_slot: none was given | |
| books_anything | No | Always false: this tool books nothing | |
| what_the_parent_does | Yes |