create_table
Add a table to an HWP document by specifying row and column counts, with optional initial cell values.
Instructions
Create a new table in the document.
Args: doc_id: Document ID from open_document rows: Number of rows cols: Number of columns data: Optional 2D array of initial cell values
Returns: Table creation confirmation
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cols | Yes | ||
| data | No | ||
| rows | Yes | ||
| doc_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||