Read pdf text
read_pdf_textThe text of a PDF article as Mathpix read it and people put it right, page by page — Markdown with $…$ formulas, each piece with the page of the original it is from, at most 30 pages a call ('nextPage' says where to go on). Each page has its 'version' and its 'state': 'machine' (as Mathpix read it), 'checked' (a person checked it against the original), 'human' (edited by a person) or 'agent' (edited by an agent); 'front' marks a cover or title page; each page's 'viewUrl' opens the text at that page over its wiki page — the link to cite it by in a comment or a «Literature». Name the file by 'fileId' (list_pdf_copies, search_pdf_texts) or by 'pageId' + 'filename'. The original is what counts — check a formula you rely on against pdf_page_image of the same page, and put a page right with update_pdf_text. A file not yet read says so.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "read_pdf_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | A page or a range: '5', '3-7', '12-'. Every page without. | |
| fileId | No | The file's id. | |
| pageId | No | Wiki page id, with 'filename', instead of fileId. | |
| filename | No | The PDF's name on that page. |