Import a library element
import_elementImport a published library element into the project as-is. Pass elementId from search_elements. Class name comes from the library. Inputs come from the compiled TypeScript. No name, no source, no skill needed. Returns the Asset ID. If that element is already in the project, returns the existing Asset ID. Place it with patch_film. Bind analysis with transcript=, beats=, audio=, or track=. Do not invent ids. branchId null (or left out) means the current version; a version id from list_branches writes that version without switching the editor to it. Do not use replace_component to copy the source unless you need to change it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| branchId | Yes | Version id from list_branches to write to, without switching the editor to it. null, or leaving it out, means the current version. | |
| elementId | Yes | Published element id from search_elements. Imports that element's source and inputs unchanged. | |
| projectId | Yes | The project this call runs on without changing the open project. null (or leaving it out) uses the open project. wait_for_jobs takes the projectId of the calls that started the jobs. |