insert_table
Add a table to the end of a live document, optionally pre-filled with data from a 2D array, and return row and column counts.
Instructions
Insert a table at the end of the document, optionally pre-filled from a 2D array of strings. Returns row and column counts.
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>",
"columns": "<columns>"
},
"name": "insert_table"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | Number of rows. | |
| values | No | Optional 2D array of cell texts (rows x columns) to pre-fill the table. | |
| columns | Yes | Number of columns. | |
| documentId | No | Target document ID from list_documents. Optional when only one document is connected. |