extract_template_structure
Extract paragraph and table structure from Word documents to map templates before data filling. Parses indices, styles, text, and cell content.
Instructions
Extract full structure: all paragraphs (index, style, text, paraId) and tables (index, dimensions, cell content). Use to map a template before filling it.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "extract_template_structure"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_handle | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |