word_append_table_row
Append a new row to a specified table in a Word document, with optional backup. Specify file path, table index, and column data to update your document.
Instructions
Append a new row of data to an existing table in a Word document.
Args:
file_path: Path to the Word document.
table_idx: 0-based index of the table.
row_data: List of strings for each column in the new row.
backup: If True, create a backup of the original file before modifying.
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": {
"file_path": "<file_path>",
"table_idx": "<table_idx>",
"row_data": "<row_data>"
},
"name": "word_append_table_row"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| backup | No | ||
| row_data | Yes | ||
| file_path | Yes | ||
| table_idx | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |