Save to the library
save_library_draftSave a smart component or recipe to a Slatebox library as private, team-shared, or review-ready; create or update reusable items for later use.
Instructions
Save your smart component, or one of your recipes, to the library: private to you, shared with your team, or sent for review to share with everyone.
Save a component. Save to the library: the board of your builder slate (library.branch) as your own smart component, or (kind recipe) one of your recipes (instanceId) or a spec from recipes.draft, its spec only: never its picks, permissions, webhooks or secrets. It stays private to you: share it with library.setAudience (your team at once, or everyone after review). The first save makes the item; later saves update it (itemId, or the builder slate or recipe remembers it). A component needs a category before it is submitted; a branch keeps its parent's (another is refused with 409 category_locked).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "save_library_draft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | component (by default): a builder slate's board; recipe: a recipe or its spec. | |
| spec | No | kind recipe: a spec (recipes.draft) to save instead. | |
| title | No | Plain text, up to 80 characters. | |
| itemId | No | The item: its id or its slug (library.list items[].id or .slug). | |
| boardId | No | The board on the builder slate (main by default). | |
| confirm | No | The confirmation id from a confirmation_required result, once the person agreed. | |
| shareId | No | kind component: the builder slate. | |
| summary | No | One line, up to 160 characters. | |
| category | No | One of the categories plan, decide, meetings, track, map, make. An integration takes work, workspace, dev, design, business, research or web. | |
| synonyms | No | Smart components only: words people might search for. | |
| instanceId | No | kind recipe: one of your recipes (recipes.list instanceId) to save; nothing personal of it is kept. | |
| description | No | Plain text, up to 2,000 characters. | |
| idempotencyKey | No | Send with confirm: the idempotencyKey from the confirmation_required result. |