工具 API

get_page_content

从已处理的文档中提取指定页面内容。灵活的页面选择:单页('5')、范围('3-7')或多页('1,5,10')。使用紧凑的目标范围,必要时拆分为多次调用。避免一次性提取整个文档。可选:wait_for_completion(布尔值)可在处理中时等待最多3分钟。返回带图片路径的结构化文本内容。要获取嵌入图片:使用此响应中的图片路径调用get_document_image()。对于超过20页的文档,先调用get_document_structure()识别相关章节。对于20页及以下的小型文档,可直接调用此工具。

devOAuth1 积分

调用信息

工具标识
pageindex-mcp.get_page_content
服务提供方
PageIndex
平均响应
0 ms
近 7 天调用
0

输入参数

doc_name必填

Document name from recent_documents()

folder_id

Filter by folder ID. Use "root" for root folder files, omit to use the default.

pages必填

Page specification: "5", "3,7,10", "5-10", or "1-3,7,9-12"

wait_for_completion

If true and document is processing, automatically wait up to 3 minutes until completed. Reduces repeated tool calls.