Tools
set_hook
Connect in ChatGPTReplace the opening line of one planned variant. A line that invents a result or repeats a forbidden claim is refused, and the previous line stays.
Access token · edit · Changes account data
Parameters
text string requiredView schema
{
"type": "string",
"minLength": 1,
"maxLength": 240
}type string optionalView schema
{
"type": "string",
"enum": [
"question",
"pain_point",
"reaction_cold_open",
"pattern_interrupt",
"result_first",
"bold_claim"
]
}variant_id string requiredView schema
{
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000)$"
}Request example
{
"name": "set_hook",
"arguments": {
"text": "YOUR_TEXT",
"variant_id": "00000000-0000-4000-8000-000000000001"
}
}Replace example values with ids and arguments read from your own Heavenly account. This example does not execute a tool.
Returns
The tool result from Heavenly’s workspace, encoded as MCP text content. The connector returns isError when an argument, permission, plan or account check fails.
Account access and permissions are checked by Heavenly. See errors for failure handling.
