add_table
Insert a table into the current document by specifying rows, columns, optional cell data, and style.
Instructions
Add a table to the current document.
Args: rows: Number of rows cols: Number of columns data: Optional 2D array of cell data style: Table style name (default: "Table Grid")
Returns: Success message or error
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": {
"rows": "<rows>",
"cols": "<cols>"
},
"name": "add_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cols | Yes | ||
| data | No | ||
| rows | Yes | ||
| style | No | Table Grid |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |