Asset tools
Updated 2026-10-06
In short
Upload, import and manage the images, styles, scripts and fonts a page uses.
8 tools. Each one is something you can ask an AI assistant to do in plain English.
list_assets
List all assets uploaded to a page. Returns asset metadata and URLs.
| Parameter | Type | Required | Description |
|---|---|---|---|
slug | string | Yes | The page slug |
Try itWhat images are on my landing page?
create_asset_upload
Step 1 of the local file upload workflow. Returns a presigned upload URL. Upload the file with curl, then call complete_asset_upload.
| Parameter | Type | Required | Description |
|---|---|---|---|
slug | string | Yes | Page slug to upload to |
filename | string | Yes | Filename with extension (e.g. 'logo.png') |
contentType | string | Yes | MIME type (e.g. 'image/png') |
Try itUpload my logo.png file to the landing page
complete_asset_upload
Step 3 of the local file upload workflow. Call after uploading via curl to register the asset and get the public URL.
| Parameter | Type | Required | Description |
|---|---|---|---|
slug | string | Yes | The page slug |
filename | string | Yes | The filename |
contentType | string | Yes | MIME type |
storagePath | string | Yes | The storagePath returned by create_asset_upload |
import_asset_from_url
Import an asset from a public URL. The server fetches the file directly -- no base64 encoding needed. Ideal for images from CDNs, GitHub, or public websites.
| Parameter | Type | Required | Description |
|---|---|---|---|
slug | string | Yes | Page slug to upload to |
url | string | Yes | Public URL of the file to import |
filename | string | No | Override filename (derived from URL if omitted) |
Try itAdd this Unsplash hero image to my landing page
upload_asset
Upload a file via base64 encoding. Deprecated in favor of create_asset_upload (presigned URL) or import_asset_from_url.
| Parameter | Type | Required | Description |
|---|---|---|---|
slug | string | Yes | Page slug to upload to |
filename | string | Yes | Filename with extension |
base64Content | string | Yes | Base64-encoded file content |
contentType | string | Yes | MIME type |
list_library_assets
List assets in your asset library. Filter by category (BRAND or GENERAL) to find images, stylesheets, scripts, and fonts for reuse across pages.
| Parameter | Type | Required | Description |
|---|---|---|---|
category | 'BRAND' | 'GENERAL' | No | Filter by category |
Try itShow me all my brand assets in the library
upload_library_asset
Import a file from a public URL into your asset library for reuse across pages and blog posts.
| Parameter | Type | Required | Description |
|---|---|---|---|
url | string | Yes | Public URL of the file to import |
category | 'BRAND' | 'GENERAL' | Yes | Asset category |
label | string | No | User-friendly name |
filename | string | No | Override filename |
organizationId | string | No | Target organization ID |
Try itSave our company logo to the brand library from this URL
delete_library_asset
Delete an asset from your asset library.
| Parameter | Type | Required | Description |
|---|---|---|---|
assetId | string | Yes | The library asset ID to delete |