get_lessons
Retrieve lessons from OA-Y courses with filters for type, content type, profession, and search. Use pagination or request all lessons to access the full catalog.
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": "get_lessons"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Get all lessons without pagination | |
| page | No | Page number (default: 1) | |
| type | No | Filter by lesson type | |
| limit | No | Number of lessons per page (default: 10) | |
| search | No | Search by lesson title or description | |
| contentType | No | Filter by content type | |
| professions | No | Array of profession IDs to filter lessons (must be obtained via get_professions tool call) |