Host a remote image/video/audio so a project can use it
ingest_assetFetch a remote media URL (image/video/audio) and HOST it on Clipkit, returning a stable asset_url to put in an element's url. Use this so the project's media survives — the original link may rot, be private, or block hotlinking. Anonymous projects allow up to 5 hosted assets / 100 MB total / 50 MB per file; when the limit is hit, tell the user to open the project (open_in_editor) and sign in to add more. Requires project_id.
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": {
"url": "<url>"
},
"name": "ingest_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | A public http(s) URL to an image, video, or audio file. | |
| filename | No | Optional display name for the asset. | |
| project_id | No | Which project to act on — the id returned by create_project / set_project / create_promo / load_project. ALWAYS pass it once a project exists in this conversation; omitting it on a build tool creates a brand-new project. (Omit only on the local stdio server working a single project.) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| asset_id | Yes | ||
| filename | Yes | ||
| asset_url | Yes |