insert_table_docx
Insert a table into a Word document by providing the file path and 2D array of rows. Optionally specify placement at the start or end.
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>",
"rows": "<rows>"
},
"name": "insert_table_docx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to the .docx file (created if it does not exist) | |
| rows | Yes | Table data as a 2D array; the first row is typically the header | |
| position | No | end |