merge_hwp_cells_horizontal
Merge adjacent cells in a row of a table by setting colSpan on the first cell and removing the absorbed cells. Specify file, table, row, start column, and count of cells to merge.
Instructions
Merge horizontal cells in a row of a table by setting colSpan on the first cell and removing the absorbed cells. Args: file_path, table_index, row, col_start, col_count (>=2), output_path (optional).
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_index": "<table_index>",
"row": "<row>",
"col_start": "<col_start>",
"col_count": "<col_count>"
},
"name": "merge_hwp_cells_horizontal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes | ||
| table_index | Yes | ||
| row | Yes | ||
| col_start | Yes | ||
| col_count | Yes | ||
| output_path | No |