insert_table_row
Insert a new row into an existing Notion table, supplying cell values that match the table width and optionally placing it after a specific row.
Instructions
Insert a new row into an existing table.
The number of cells must match the table's existing width.
Args: table_id: The table block ID. cells_json: JSON array. Each element is either: - a plain string (single text segment) - a list of strings (multi-segment plain text in one cell) Example for a 3-column table: '["Widget", "In stock", "42"]' after_row_id: Optional row ID to insert after. If empty, append to end.
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": {
"table_id": "<table_id>",
"cells_json": "<cells_json>"
},
"name": "insert_table_row"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table_id | Yes | ||
| cells_json | Yes | ||
| after_row_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |