create_asset
Downloads a file from a URL and persists it as a workspace asset, usable immediately in projects.
Instructions
Create an asset from URL
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Remote file URL to download and persist as a workspace asset. The file is downloaded asynchronously (S3 upload + thumbnail generation). The returned asset UUID is usable immediately — e.g. in ProjectItem data.assets[]. | |
| name | No | Display name for the asset. If omitted, auto-extracted from the URL filename. | |
| asset_type | No | Asset type integer. Use 0 for images (default for AI-generated creatives). Values: 0=image, 2=video, 4=giphy, 6=font, 8=audio, 17=pdf. |