copy_table
Duplicate a table in a Word document by copying it and inserting the copy right after the original table, specified by its zero-based index.
Instructions
Deep-copy a table and insert the copy immediately after the original.
Args: table_idx: 0-based table index.
Returns: {"source_index": int, "new_index": int}
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": {
"table_idx": "<table_idx>"
},
"name": "copy_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_idx | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |