Search media library
search_mediaBrowse or search the photos and videos uploaded to a workspace's media library (these are not part of get_brand_kit). Returned URLs can be used in compose_design, set_design_background, replace_design_image, or as generate_image references.
Without query, lists the most recently used uploads, paged with page and limit (default 20, max 50); type selects "image" (default) or "video". With query, runs a semantic search over images only, and only over images Blaze has already indexed, so browsing is the complete list. Each result has a title, hosted URL, MIME type, dimensions, and media key. Read-only.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"workspace_key": "<workspace_key>"
},
"name": "search_media"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Optional 1-based page for browse mode. Defaults to 1. | |
| type | No | Browse "image" (default) or "video". Ignored when query is set (search is image-only). | |
| limit | No | Optional page size. Defaults to 20, capped at 50. | |
| query | No | Optional. Semantic search over indexed images. Omit to browse recent uploads. | |
| workspace_key | Yes | Key of the workspace to act in. Call list_workspaces to see the workspaces you have access to and their keys. |