Cyberlibrary Get Toc
cyberlibrary_get_tocTable of contents for one book: ordered chapters with their real titles. When to use: right after cyberlibrary_book_meta, to pick which chapter to read; this is the cheapest way to survey a long book (single HTML read regardless of chapter count). Do not use: to read prose (call cyberlibrary_get_chapter). Returns: {lang, slug, total_chapters, page, total_pages, chapters[{chapter, title, url}]}.
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": {
"lang": "<lang>",
"slug": "<slug>"
},
"name": "cyberlibrary_get_toc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | Yes | ||
| page | No | 1-based page of the chapter list. Default 1. | |
| slug | Yes | ||
| per_page | No | Chapters per page (1-500). Default 100. |