TOOL API

get_document_image

Retrieve an embedded image from a document. Requires image_path from get_page_content() response, format: <docName>/<imagePath> (e.g. MyDoc.pdf/figures/fig1.png). Returns image_base64 and content_type for rendering. Do not repeat the raw image_base64 value in your text response.

devOAuth1 credits

Call information

Tool slug
pageindex-mcp.get_document_image
Provider
PageIndex
Average response
0 ms
Calls in 7 days
0

Input parameters

image_pathrequired

An image_path from a get_page_content() response, passed back exactly as returned โ€” never constructed or modified. Two sources: an embedded image_path (or img_path) on a content block, or a full-page image_path from the page_images array (format "<doc_name>/_page_images/page-<N>.jpg").

folder_id

Disambiguator when the document name inside image_path is not unique (e.g. two documents in different folders share the same name). Copy the `folder_id` of the intended document from a browse/search result; use "root" for root-level documents, or "shared-with-me"/"following" to pin one of the read-only library-root folders; omit if the name is unique. Copy any folder_id verbatim from a browse_documents()/get_folder_structure() response, never construct one.