List Magic Lane documentation pages
list_docsBrowse the Magic Lane documentation index by sections or pages, filter by source or section, and paginate results to find relevant SDK and API pages.
Instructions
Browse the Magic Lane documentation index (llms.txt). mode "sections" returns a compact table of contents (sections with page counts); mode "pages" lists pages with title, URL and the description (one over 200 characters cut to its first sentence, or at a word — where the room ends when its second half has no space; search_docs gives it whole), 50 per call by default, 100 at most (page with offset). When mode is omitted it defaults to "sections" for source "all" without a section filter, and "pages" otherwise. Start with the TOC, then drill into one source/section with mode "pages".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | "sections" = compact TOC with page counts; "pages" = full page list. See default above. | |
| limit | No | In "pages" mode: pages per response (default 50, at most 100). | |
| offset | No | In "pages" mode: skip this many pages (for paging through a long listing). | |
| source | No | Restrict listing to one documentation source. | all |
| section | No | Optional case-insensitive filter on the section, e.g. "routing" or "Examples › Maps & 3D Scene". Sections mirror the documentation URL: "Examples › <category>" and "Guides › <topic>". |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| pages | Yes | "pages" mode: the pages of this slice. Empty in "sections" mode. | |
| total | Yes | Pages matching the source and section filters. | |
| offset | Yes | "pages" mode: position of the first page of this slice. | |
| message | Yes | What the listing shows and how to continue (paging, or how to drill down). | |
| sections | Yes | "sections" mode: every section with its page count. Empty in "pages" mode. | |
| nextOffset | No | "pages" mode: offset of the next slice; absent at the end. | |
| failedSources | Yes | Source files that could not be loaded: "index" (llms.txt) or "full-text" (llms-full.txt) — a problem with the files on developer.magiclane.com or with reaching it, never a gap in the documentation. |