Assets

Manage assets and folders in the Webflow Designer asset manager using the Assets tools. Organize files, update asset metadata, and retrieve asset information.

The MCP Companion App must be open in the Webflow Designer for these tools to function.


Asset tool

Perform actions like creating folders, getting assets, and updating asset metadata.

Tool: asset_tool

siteId
stringRequired

Unique identifier for the site.

actions
arrayRequired

An array of asset actions to perform. See action examples below.

Actions

Create folder

Create a new folder in the asset manager.

name
stringRequired

The name of the folder to create.

parent_folder_id
string

The ID of a parent folder to create the new folder inside. If omitted, the folder is created in the root directory.

Action Example
1{
2 "actions": [
3 {
4 "create_folder": {
5 "name": "Marketing Images"
6 }
7 }
8 ]
9}

Get all assets and folders

Retrieve a list of assets and/or folders.

query
'all' | 'folders' | 'assets'Required

Specify what to retrieve.

filter_assets_by_ids
array

An array of asset IDs to filter by.

Action Example
1{
2 "actions": [
3 {
4 "get_all_assets_and_folders": {
5 "query": "assets"
6 }
7 }
8 ]
9}

Update asset

Update an asset’s metadata, such as its name, alt text, or parent folder.

asset_id
stringRequired

The ID of the asset to update.

name
string

The new name for the asset.

alt_text
string

The new alt text for the asset.

parent_folder_id
string

The ID of the folder to move the asset to.

Action Example
1{
2 "actions": [
3 {
4 "update_asset": {
5 "asset_id": "628f4b034872242526c8f65c",
6 "alt_text": "A beautiful landscape"
7 }
8 }
9 ]
10}

Get image preview

Fetch an image from a URL and return it as a base64-encoded string.

url
stringRequired

The URL of the image to fetch.

siteId
stringRequired

Unique identifier for the site.

This tool helps analyze uploaded assets in your Webflow project, enabling the LLM to generate ALT text or perform other related tasks. Supported image formats include JPG, PNG, WEBP, and AVIF.