hex-update-cell
Update a Hex cell's source code or SQL data connection using its cell ID. Modify existing notebook or SQL cells through the Hex API.
Instructions
Update a cell's source and/or data connection.
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": {
"cellId": "<cellId>"
},
"name": "hex-update-cell"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cellId | Yes | ||
| source | No | New cell source content | |
| dataConnectionId | No | Data connection UUID for SQL cells |