@modelcontextprotocol/server-pdf 1.0.1 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -63,7 +63,10 @@ On some host platforms, tool calls have size limits, so large PDFs cannot be sen
63
63
  ```typescript
64
64
  // Load in chunks with progress
65
65
  while (hasMore) {
66
- const chunk = await app.callServerTool("read_pdf_bytes", { url, offset });
66
+ const chunk = await app.callServerTool({
67
+ name: "read_pdf_bytes",
68
+ arguments: { url, offset },
69
+ });
67
70
  chunks.push(base64ToBytes(chunk.bytes));
68
71
  offset += chunk.byteCount;
69
72
  hasMore = chunk.hasMore;