Skip to content
Tools

Replace 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 required
View schema
text schema
{
  "type": "string",
  "minLength": 1,
  "maxLength": 240
}
type string optional
View schema
type schema
{
  "type": "string",
  "enum": [
    "question",
    "pain_point",
    "reaction_cold_open",
    "pattern_interrupt",
    "result_first",
    "bold_claim"
  ]
}
variant_id string required
View schema
variant_id 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

Tool 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.