insert_table_row
Add a new row to a table in Google Docs by specifying the table location and insertion point. Use this tool to expand tables with additional data rows.
Instructions
Insert a new row into an existing table.
The table_start_index is the document index where the table begins. Row indices are 0-based (0 is the first row).
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": {
"document_id": "<document_id>",
"table_start_index": "<table_start_index>",
"row_index": "<row_index>"
},
"name": "insert_table_row"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | The ID of the Google Document | |
| table_start_index | Yes | The index where the table starts | |
| row_index | Yes | The row index (0-based) where to insert | |
| insert_below | No | True to insert below the row, False to insert above |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |