工具 API

get_document_structure

提取已完成文档的层次结构。可选:wait_for_completion(布尔值)可在仍在处理时等待最多3分钟。返回带标题、章节和页码引用的结构化大纲。文档超过20页必需使用——先使用此工具了解布局并识别相关章节,然后再提取内容。对于有针对性的问题,使用结构定位相关页面,然后使用get_page_content()提取。

devOAuth1 积分

调用信息

工具标识
pageindex-mcp.get_document_structure
服务提供方
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.

part

Part number for pagination (1-based)

wait_for_completion

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