Learn integration guide
learn_guideRead the Learn API integration guide (snapshot of 2026-11-29), whole or by topic, or one of its runnable examples. Use it for any question about building with the Learn API: preparing a session, the four kinds of help, sending a turn and accepting it only on its final done event, the safety status, receipts, errors and recovery. Answer only from what it says; if it does not cover something, say so instead of guessing. Topics: access, setup, content, display-name, learner, learner-id, controls, diagnostic, files, turn, safety, team, receipts, timing, saved, open-session, long-sessions, recovery, errors, privacy, price, examples. Examples: README.md, prepare.mjs, quest.ts, quest.py, quest.sh, server.ts. Other guide pages, with page: performance (Fast today. Faster every release., https://developers.foreverlearning.ai/docs/performance/; topics: expect, faster, checked-first, wait); pricing (Pay only for what you use., https://developers.foreverlearning.ai/pricing/; topics: 5-per-turn-that-succeeds, 3-per-text-turn, memory-that-outlives-the-session, safety-that-reads-the-whole-conversation, understand-what-youll-pay, an-api-built-for-your-organization); security (Build the boundary into your integration., https://developers.foreverlearning.ai/security/; topics: keep-secrets-on-the-server, protect-account-changes, respect-the-person-behind-the-conversation, make-escalation-explicit, report-a-concern). Read performance for what to expect from turn times and how to design the wait, pricing for what each API costs, security for keys, account changes, end users and escalation.
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": "learn_guide"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Another guide page to read instead of the integration guide: "performance", "pricing" or "security"; with topic, one of its sections. | |
| topic | No | A topic id from the list (for example "turn", "safety", "errors") or words from its heading. Leave it out for the whole guide. | |
| example | No | A runnable example file to read instead, for example "quest.ts" or "README.md". |