set_hooks
Offer several opening-line hook options for a session, replace earlier choices, and let the app place the selected hook in the script’s first paragraph for recording.
Instructions
Offer several hooks (opening lines) for a session. Replaces earlier hook options. The app shows them above the teleprompter; picking one puts it in the script's first paragraph (the hook slot), and each take records which hook it opened with (take field 'hook'). Write script.md with your best hook as its own first paragraph. Use this for hook options; use variants for different whole scripts.
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": {
"session": "<session>",
"hooks": "<hooks>"
},
"name": "set_hooks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hooks | Yes | The hook options, best first: [{text, note}]. | |
| session | Yes | Session: 'Project/folder', an absolute path or its id (from get_session). Old paths still work. |