get_chapter
Retrieve complete chapter text from a public-domain book using its Gutenberg book ID and chapter number. Chapter 0 covers front matter; use book metadata to find valid chapter range.
Instructions
Full text of one chapter from an indexed book by book_id and chapter number. Chapter 0 is front matter before the first detected heading. Use get_book_metadata for the valid chapter range. Costs $0.005 via x402 (requires WALLET_PRIVATE_KEY, USDC on Base).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| book_id | Yes | Gutenberg book id | |
| chapter | Yes | Chapter number (0 = front matter) |