Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
OCR Image
MATHPIX_OCR_IMAGEExtract text, math, tables, diagrams, or chemistry from one image URL or base64 data URI and return the requested OCR representations. Mathpix may retain the submitted image and result, and provides no image deletion endpoint.
Process File URI
MATHPIX_PROCESS_FILE_URISubmit one public or registered-cloud document URI to the paid Files API, wait for OCR and one requested output, and return the retained file ID and downloadable result. Supply an idempotency key for safely retryable standalone submissions. External storage writes or callback delivery require explicit authorization.
Process Image Batch
MATHPIX_PROCESS_IMAGE_BATCHSubmit a paid asynchronous batch of 1-100 named public image URLs, wait until every key has a semantically successful OCR result, and return the retained batch ID and results. Explicit confirmation is required because Mathpix provides no batch deletion route and may deliver an external callback.
Recognize Strokes
MATHPIX_RECOGNIZE_STROKESRecognize handwritten math or text from aligned x/y digital-ink stroke arrays and return OCR representations. This paid call may retain the result.
Revoke App Token
MATHPIX_REVOKE_APP_TOKENIrreversibly revoke one short-lived app token immediately. Existing clients using the credential will stop authenticating. Requires explicit confirmation.
Search OCR Results
MATHPIX_SEARCH_OCR_RESULTSSearch retained image and stroke OCR history by date, identifiers, content, tags, or detected content and return one page of results. Only requests made with improve_mathpix enabled are queryable.
Submit File Job
MATHPIX_SUBMIT_FILE_JOBSubmit up to 200,000 remote documents in a paid asynchronous Mathpix Files job, subject to a 10 MB encoded request limit. Processing creates retained state and may read or write external storage or deliver callbacks; acceptance does not establish individual file outcomes.
Upload and Process File
MATHPIX_UPLOAD_AND_PROCESS_FILEUpload one local document to the paid Mathpix Files API, wait until OCR and one requested output are ready, then return the retained Mathpix file ID and a downloadable result. The operation can consume page quota and does not delete the remote file; use Delete File when it is no longer needed. External storage writes or callback delivery require explicit authorization.