Import content
import_itemsImports items found with list_import_items into a workspace library (the per-call cap is max_per_import from the source list, usually 20; Canva and Descript cap at 10). Sources that render first (opusclip, klap, descript, canva mp4) can take up to 2.5 minutes. Pass container_id for sources with projects, and import options in options (e.g. { format: "landscape" } for twitch, { version: "captioned" } for heygen, { format: "mp4" } for canva).
Returns per item: video_upload_id (pass to create_post_drafts or create_carousel), caption and title (use the title as the YouTube title; shorten the caption for X and Bluesky), or ok: false with an error. Items that fail don't stop the others.
OneDrive, Box and Frame.io items of type "document" (PDF, PowerPoint, Word) return kind: "document" and a "document" object instead of a video_upload_id: make a LinkedIn text post (create_text_post, then create_post_drafts for LinkedIn), then set platform_settings.linkedin.document to that object unchanged with update_post, within 48 hours (unused documents are deleted after that).
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": {
"workspace_id": "<workspace_id>",
"source": "<source>",
"item_ids": "<item_ids>"
},
"name": "import_items"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| options | No | Import options for the source. | |
| item_ids | Yes | Item ids from list_import_items, all from one container when the source has them. | |
| container_id | No | The project id, for sources with projects. | |
| workspace_id | Yes | Workspace to import into. Get it from list_workspaces. | |
| idempotency_key | No | Optional client-generated key (e.g., a UUID) to make retries safe. Identical calls with the same key within 10 minutes return the original result instead of running the write twice. |