MCPcopy Create free account
hub / github.com/modelcontextprotocol/ext-apps / readPdfRange

Method readPdfRange

examples/pdf-server/server.ts:687–687  ·  view source on GitHub ↗

Read a range of bytes from a PDF, using cache for servers without Range support

(
    url: string,
    offset: number,
    byteCount: number,
  )

Source from the content-addressed store, hash-verified

685export interface PdfCache {
686 /** Read a range of bytes from a PDF, using cache for servers without Range support */
687 readPdfRange(
688 url: string,
689 offset: number,
690 byteCount: number,

Callers 3

deliverMethod · 0.80
fillFunction · 0.80
server.test.tsFile · 0.80

Calls

no outgoing calls

Tested by 1

fillFunction · 0.64