library_create
Create a content library with optional color, one-time-use, and seasonal date range so you can organize posts and schedule time slots.
Instructions
Create a content library. Optional: color (#rrggbb), one_time_use (each post leaves the library once published) and a seasonal window (seasonal_from and seasonal_to as MM/DD). Then add posts with add_content_in_library and time slots with schedule_create.
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": {
"name": "<name>"
},
"name": "library_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Library name, at most 100 characters. Leading and trailing spaces are trimmed; a blank name is a 400. | |
| color | No | Hex colour as #rrggbb, shown in the calendar. Letters may be upper or lower case. Default: #e0e0e0. | |
| seasonal_to | No | Last day of the season as MM/DD. Required when seasonal_from is sent. | |
| one_time_use | No | Make it a one-time-use library: each post leaves the library once it has published. Accepts true/false, 1/0, yes/no or on/off; blank means false and any other value answers 400. Default: false. | |
| workspace_id | No | Workspace to act in (ws_id from workspace_list). Omit to use your default workspace. | |
| seasonal_from | No | First day of the season as MM/DD (zero-padded, e.g. 12/01). Send it with seasonal_to to create a seasonal library; one without the other is a 400. Left out, the library is not seasonal. |