create_cell
Add a code, SQL, or markdown cell to a Hex project, specifying content, type, and optional location for insertion.
Instructions
Create a new cell in a Hex project.
cell_type: CODE | SQL | MARKDOWN source: the cell's source code / SQL / markdown content label: optional display label for the cell insert_after_cell_id: optional cell ID to insert after (otherwise appends to end) data_connection_id: required for SQL cells — the Hex data connection UUID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | ||
| source | Yes | ||
| cell_type | Yes | ||
| project_id | Yes | ||
| data_connection_id | No | ||
| insert_after_cell_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |