Search for assets using standard filters or semantic search.
Assets must be uploaded through the Metabind interface before they can be referenced in content. The MCP tools provide discovery and search capabilities, not upload functionality.
Parameters
| Parameter | Type | Default | Description |
|---|
projectId | string | session default | Project to search in |
query | string | - | Natural language semantic search query |
type | string | - | Filter by MIME type (e.g., image/jpeg, image/*) |
tags | string[] | - | Filter by tags |
page | number | 1 | Page number |
limit | number | 20 | Items per page (max 100) |
Response
| Field | Type | Description |
|---|
items | array | Array of asset objects |
items[].id | string | Unique asset identifier |
items[].name | string | Display name for the asset |
items[].description | string | Asset description or metadata |
items[].type | string | MIME type of the asset |
items[].url | string | CDN URL for accessing the asset |
items[].dimensions | object | Asset dimensions (for images/videos) |
items[].dimensions.width | number | Width in pixels |
items[].dimensions.height | number | Height in pixels |
items[].size | number | File size in bytes |
items[].tags | string[] | Categorization tags |
items[].similarity | number | Similarity score 0-1 (when query is used) |
total | number | Total number of matching items |
Examples
Semantic Search
Search for assets using natural language:
Response:
Filter by Type
Find all JPEG images:
Find assets with specific tags:
Combined Filters
Search for hero images using semantic search:
Common MIME Types
| Type | Description |
|---|
image/jpeg | JPEG images |
image/png | PNG images |
image/gif | GIF images |
image/webp | WebP images |
image/svg+xml | SVG graphics |
video/mp4 | MP4 videos |
video/webm | WebM videos |
application/pdf | PDF documents |
Use image/* or video/* to match all images or videos respectively.
Using Assets in Content
When creating content, reference assets by their ID:
The full asset details (URL, dimensions, etc.) are resolved automatically when the content is rendered.
Always verify asset IDs exist before referencing them in content. Use search_assets to find valid asset IDs. Non-existent asset references will cause validation errors during content creation.