compare_extraction
Compares structured table extraction against naive text-stream output side by side, helping you identify where a document loses rows, columns, or numeric meaning without structure restoration.
Instructions
把 DocLens 的表格还原结果与「朴素文本流」抽取的结果并排给出,用于判断这份文档如果不做结构还原会错在哪里。适合在向别人解释这份工具的必要性时用。
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": {
"path": "<path>"
},
"name": "compare_extraction"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | 文档路径 | |
| index | No | 第几张表,从 1 开始 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |