Wait for an asset
wait_for_assetWait until assets are placeable, then return each one's placement lines: its source facts (width, height, fps, duration, hasAudio), what fit="cover" does to it in the film, a READY line and the use line. Takes every Asset ID the next step needs in one call, up to 200 (assetIds): imports, generations, your own uploads, uploads the user started, which search_assets lists with preparing set while they upload or encode, and Library ids of files still uploading (search_library, add_from_library): it adds each to the project once its upload lands and answers its Asset ID, which you use from then on. A call of more than 20 ids names where each one stands in a line: search_assets lists their facts. Answers when all of them are ready or failed, each with its reason (a plan limit says so). One call waits at most 50 seconds (waitSeconds, null for the longest wait); if some are still processing then, it names them with their progress and a NEXT line: start on the ready ones, tell the user, and call wait_for_asset again with those ids. Nothing reads what a file shows or says on its own: read_asset draws its picture, and transcribe_asset, detect_scenes, detect_beats and search_video_moments read its content when the edit needs it. Use this after an import or upload, and whenever an answer says NOT PLACEABLE YET, before placing or analyzing the asset.
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": {
"assetIds": "<assetIds>",
"waitSeconds": "<waitSeconds>",
"projectId": "<projectId>"
},
"name": "wait_for_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| assetIds | Yes | Every Asset ID to wait for, in one call: all the uploads, imports or generations the next step needs. 1 to 200. | |
| 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. | |
| waitSeconds | Yes | Seconds to wait for the assets to become usable before answering, 0 to 50. null waits 50. |