get_document
Read a document from kgromero.com: PDFs as text, diagrams and photos as images.
Many PDFs are slide decks or scans; the text result lists pages that are mostly
visual so you can call again with as_images=true to see them. Results for files on
the site end with a link to the original file.
Args:
document: Name, part of a name, filename, or URL from list_documents
(e.g. "Electron Architecture", "Transcript", "RedditListener").
pages: PDF pages to return, e.g. "3", "1-5", or "2,4,7-9". Defaults to all
pages for text (up to a length limit).
as_images: Return PDF pages as images instead of text (up to 5 pages per call).
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": {
"document": "<document>"
},
"name": "get_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | ||
| document | Yes | ||
| as_images | No |