get_cell_source
Retrieve the complete source code of a specific cell in a Hex notebook. View current Python, SQL, or HTML before making edits.
Instructions
Read the full source code of a specific cell (Python, SQL, or HTML). Use this before updating to understand what's already there.
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": {
"project_id": "<project_id>",
"cell_id": "<cell_id>"
},
"name": "get_cell_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cell_id | Yes | ||
| project_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |