Save to library
save_to_librarySaves a delivered draft to the creator's library (by draft_id) with all its hooks and calls to action, or saves new text the creator wrote (title, text and platform). Pass hook to keep the hook the creator picked (its number or its text); it becomes the chosen hook and comes first. The library then tags its content pillar and funnel stage on its own within a minute; update_library_item changes them by hand. Returns the new library item id. Uses no credits.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hook | No | The hook the creator picked: its number in the draft's hooks (1 is the first) or its text, such as 2 or "Stop saving 10%". | |
| text | No | The text to save (when there is no draft_id). | |
| title | No | Title of new text to save (when there is no draft_id). | |
| draft_id | No | A delivered draft id from generate_content or list_library. | |
| platform | No | Platform of the new text (when there is no draft_id). |