Free trial class times
get_free_trial_timesThe free trial class times a Codinzy tutor has for a child, in the family's time zone: the same times the booking page offers that child. Needs the child's school grade (1-12) and the country the family lives in. Each time has a slot_token (valid 6 hours): when the parent picks a time, pass it to create_booking_link (the parent books on the page) or, with the parent's go-ahead, to request_trial_booking. Read only: nothing is booked or held, and times can fill up.
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>",
"country": "<country>"
},
"name": "get_free_trial_times"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | How many days ahead, 1-14 | |
| grade | Yes | The child's school grade, 1-12 (under grade 1: 1) | |
| country | Yes | Where the family lives: ISO 3166-1 alpha-2 code (BD, US, GB, IN, AE, ...) or the country name | |
| timezone | No | IANA time zone for the times, e.g. Asia/Dhaka (default: the country's main zone) | |
| utm_source | No | Who is asking, kept in the links for attribution, e.g. chatgpt.com, claude.ai |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | Yes | ||
| fits | Yes | What the free class is for this grade | |
| count | Yes | ||
| grade | Yes | ||
| times | Yes | ||
| country | Yes | ||
| timezone | Yes | ||
| grade_band | Yes | "1-5" or "6-12" | |
| how_to_book | Yes | ||
| times_page_url | Yes | The same times as a web page |