fetch
Retrieve specific content from ebooks using epub:// URLs to access targeted book sections and information.
Instructions
Fetch specific content from a book using epub:// URL
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | epub:// URL from search results |
Implementation Reference
- server.js:1108-1111 (handler)Handler for the 'fetch' tool within the handleToolsCall switch statement. It is currently a placeholder that sends an error indicating the implementation is pending.case 'fetch': // Implementation would be similar to original this.sendError(id, -32601, 'Fetch tool implementation pending'); break;
- server.js:988-1001 (registration)Registration of the 'fetch' tool in the tools array returned by handleToolsList, including name, description, and input schema.{ name: 'fetch', description: 'Fetch specific content from a book using epub:// URL', inputSchema: { type: 'object', properties: { url: { type: 'string', description: 'epub:// URL from search results' } }, required: ['url'] } },
- server.js:991-999 (schema)Input schema definition for the 'fetch' tool, specifying an object with a required 'url' string property.inputSchema: { type: 'object', properties: { url: { type: 'string', description: 'epub:// URL from search results' } }, required: ['url']