set_post_hooks
Provides hook options for a LinkedIn or X post, letting you choose one in the app to replace the post's first paragraph.
Instructions
Offer several hooks for the LinkedIn or X post: opening lines (LinkedIn: the part above '…more', about two lines; X: the first tweet's opening). Replaces earlier hooks for that platform. The app lists them above the post; picking one replaces the post's first paragraph. Write the post with your best hook as its own first paragraph.
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_post_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. | |
| platform | No | Which post of the session: linkedin (default, posts/linkedin.md), x (posts/x.md), youtube (the long wide video: title + description, posts/youtube.md) or vertical (one vertical video and caption for TikTok, Instagram Reels and YouTube Shorts, posts/vertical.md). |