GenOffice docx blocks
genoffice_docx_blocksParse a .docx file to list its top-level blocks (paragraphs, headings, tables) with index, type, style, and text, enabling targeted editing. Use it before patching to select which blocks to rewrite.
Instructions
Parse a .docx with the GenOffice engine and list its top-level blocks (paragraphs/headings/tables) with their index, type, style and text. Use this BEFORE genoffice_docx_patch to pick the block indexes you want to rewrite.
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": "genoffice_docx_blocks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Absolute path to the .docx file |