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.

ParameterTypeRequiredDescription
slugstringYesThe 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.

ParameterTypeRequiredDescription
slugstringYesPage slug to upload to
filenamestringYesFilename with extension (e.g. 'logo.png')
contentTypestringYesMIME 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.

ParameterTypeRequiredDescription
slugstringYesThe page slug
filenamestringYesThe filename
contentTypestringYesMIME type
storagePathstringYesThe 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.

ParameterTypeRequiredDescription
slugstringYesPage slug to upload to
urlstringYesPublic URL of the file to import
filenamestringNoOverride 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.

ParameterTypeRequiredDescription
slugstringYesPage slug to upload to
filenamestringYesFilename with extension
base64ContentstringYesBase64-encoded file content
contentTypestringYesMIME 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.

ParameterTypeRequiredDescription
category'BRAND' | 'GENERAL'NoFilter 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.

ParameterTypeRequiredDescription
urlstringYesPublic URL of the file to import
category'BRAND' | 'GENERAL'YesAsset category
labelstringNoUser-friendly name
filenamestringNoOverride filename
organizationIdstringNoTarget organization ID

Try itSave our company logo to the brand library from this URL

delete_library_asset

Delete an asset from your asset library.

ParameterTypeRequiredDescription
assetIdstringYesThe library asset ID to delete

Related