inspect_document
Analyze a PDF path and return structured JSON describing pages, tables, images, formulas, and text characters for downstream extraction and validation.
Instructions
inspect_document tool:文档探查(M6,P1,轻量)。
Args: pdf_path: PDF 路径(必填)。
Returns: 结构化 JSON 文本(PRD §4.6:pages/tables/images/formulas/text_chars)。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"pdf_path": "<pdf_path>"
},
"name": "inspect_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pdf_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |