fetch_pdf_chunks
Selectively extract specific text paragraphs or equations from a PDF using block IDs, reducing token usage for LLMs.
Instructions
Selectively fetch the raw, highly-structured text paragraphs or equations of specific blocks based on their blockId. Use this after inspect_pdf_structure to pull only the necessary data chunks.
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": {
"filePath": "<filePath>",
"blockIds": "<blockIds>"
},
"name": "fetch_pdf_chunks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| blockIds | Yes | An array of specific blockId strings discovered via inspect_pdf_structure tool. | |
| filePath | Yes | The absolute path to the local PDF file. |