get_quotes
Retrieve notable passages from a public-domain book by its ID. Optionally search by theme to find relevant matching quotes, or get a sample of dialogue lines.
Instructions
Notable passages from one indexed book by book_id. Pass an optional theme to full-text search within that book, or omit it for a sample of short dialogue-bearing lines. Costs $0.005 via x402 (requires WALLET_PRIVATE_KEY, USDC on Base).
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": {
"book_id": "<book_id>"
},
"name": "get_quotes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max quotes to return (default 5) | |
| theme | No | Optional theme/keyword to search for within the book | |
| book_id | Yes | Gutenberg book id |