# set_doc_table_cell_text (https://sellersheetai.com/docs/mcp-api/tools/set_doc_table_cell_text)

> Replace the text content of a specific table cell.

Access: **DESTRUCTIVE** · toolset google_workspace · family null

tableIndex is 0-based across the body's top-level tables (in document order). row and column are 0-based cell coordinates. The cell's first paragraph is replaced; further paragraphs in the cell stay.

## Call it

MCP tool call:

```json
{
  "name": "set_doc_table_cell_text",
  "arguments": {
    "documentId": "<documentId>",
    "tableIndex": 1,
    "row": 1,
    "column": 1,
    "text": "<text>"
  }
}
```

Tool API (early access — contact us):

```bash
curl -X POST https://api.sellersheetai.com/api/v1/tools/set_doc_table_cell_text \
  -H "Authorization: Bearer $SELLERSHEET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"documentId":"<documentId>","tableIndex":1,"row":1,"column":1,"text":"<text>"}'
```

## Arguments

| Name | Type | Required | Description |
|---|---|---|---|
| `documentId` | string | yes | the Google Docs document ID. |
| `tableIndex` | integer | yes | Which table to target (0 = first table). |
| `row` | integer | yes | Cell row (0-based). |
| `column` | integer | yes | Cell column (0-based). |
| `text` | string | yes | Plain text to place in the cell. |

## Result

- { tableIndex, row, column, chars }