Lessons for the conditions
find_lessons_by_conditionsFind bookable surf lessons whose forecast sea, at the lesson's own beach and hour, matches the given criteria: minimum open-sea wave height, minimum surf score (0–10), light wind, and/or a level and zone. Returns real upcoming lessons with date, time (local to the beach), beach, the forecast for that hour, level, price, school, lesson id and booking link. Lessons whose hour has no forecast yet are left out when a sea criterion is given, and the reply says how many. Great for 'find beginner lessons when the sea is at least 1m', 'lessons on days with light wind' or 'surf quando o mar tiver pelo menos 1.5m'. Read-only, SurfBooking zones with schools only: Portugal, Spain and Morocco. Books or charges nothing. It always returns lessons, never a plain ranking of beaches.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "find_lessons_by_conditions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Optional — how many days ahead to look, from today (default 7, max 14). | |
| zone | No | Optional — zone/region name, e.g. 'Porto' or 'Ericeira'. | |
| level | No | Optional — only lessons for this level. | |
| waveMin | No | Optional — minimum open-sea wave height in metres at the lesson's hour, e.g. 1 or 1.5. | |
| scoreMin | No | Optional — minimum SurfBooking sea score (0–10) at the lesson's hour. | |
| lightWind | No | Optional — if true, only lessons whose hour has wind of 30 km/h or less. |