insert_doc_table
Insert an empty table.
writeGoogle Sheets, Docs & Drive
Fill cells with set_doc_table_cell_text (tableIndex counts tables in document order), or create and fill a table in one call with write_doc_structured's table block.
Call it
In an AI client (MCP)
{
"name": "insert_doc_table",
"arguments": {
"documentId": "<documentId>",
"rows": 1,
"columns": 1
}
}From code (Tool API)
curl -X POST https://api.sellersheetai.com/api/v1/tools/insert_doc_table \
-H "Authorization: Bearer $SELLERSHEET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"documentId":"<documentId>","rows":1,"columns":1}'Early access — the Tool API is open on request, contact us.
Arguments
| Name | Type | Description |
|---|---|---|
documentIdrequired | string | the Google Docs document ID. |
rowsrequired | integer | Number of rows (>=1). |
columnsrequired | integer | Number of columns (>=1). |
index | integer | Insertion index. Omit to append. |
Result
Every tool answers {notification, data, human_action}; data carries:
- { inserted: true }