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.
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. |