Create a hook test
create_hook_testStart a hook test: publish several openings for the same idea and measure which one holds attention on this account. THIS SCHEDULES REAL POSTS — one per variant per round, spaced out over days — so confirm with the person before calling it. Results become the rules that list_hook_rules and check_draft read, which stay empty until a test concludes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| idea | Yes | The single idea every variant expresses. Only the opening should differ. | |
| title | Yes | Short name for the test, e.g. 'Hook style — scheduling posts'. | |
| rounds | No | How many times each variant is posted. Defaults to 3. Fewer than 2 cannot conclude. | |
| variants | Yes | 2-4 opening lines to compare. Same idea, genuinely different openings. | |
| accountId | Yes | Account id from list_connections to run the test on. | |
| archetypes | Yes | One archetype per variant, in the same order: question, contrarian, number, story or direct. This is not a label — it decides the rule the test can produce, and the opening must actually match it (question ends with '?', number starts with a figure, contrarian starts with stop/nobody/everyone/most/forget/unpopular/the reason, story starts with I/we/last/yesterday/when I/my client). | |
| slotHourUtc | No | Hour of day (UTC) to post at. Defaults to 18. | |
| spacingDays | No | Days between posts. Defaults to 3. |