query_lessons
Search Younanix engineering lessons by natural language query. Returns an agent-native envelope (schema_version 2) with short one-line problem teasers only (max 3). Full lesson bodies and briefs require query_lessons_premium ($0.10 USDC) or the paid agent-query endpoint.
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": {
"query": "<query>"
},
"name": "query_lessons"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Natural language search query | |
| max_results | No | Maximum number of results to return (default 3, max 3) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| status | Yes | ||
| surface | Yes | ||
| next_actions | Yes | ||
| schema_version | Yes |