Asset tools
Reference for the FLORA MCP tools that upload files by URL or signed upload, finish uploads, and place assets on a canvas.
These FLORA MCP tools bring your own images, video, audio and PDFs into a workspace and onto a canvas. Pass a public HTTPS URL and FLORA fetches it, or pass source: "signed-url" for a local file, upload it, and finish with flora_complete_asset. Never send file bytes as base64.
For all three upload paths step by step, see Upload your own images, video and files.
Bring files into a workspace from a public URL, or reserve a signed upload for a local file. Up to 25 per call.
writes
Finish a signed-url upload once the file's bytes are uploaded, or finish up to 25 at once.
writes
Read one asset's metadata, or turn up to 100 asset IDs into URLs in one call.
read-only
flora_create_asset
Bring files into a workspace from a public URL, or reserve a signed upload for a local file. Up to 25 per call.
Labels: writes
Shown in clients as: Create asset
Use when: The user has a file to use in FLORA: a public HTTPS URL, a file they shared in Claude or ChatGPT (already hosted, so pass its URL), or a file on their machine.
Don't use when: You'd send the bytes as base64, or retry a URL that returned 401, 403 or 404: use source: "signed-url" instead. SVG isn't accepted; convert it to PNG first.
Arguments
workspace_id
string
yes
Workspace to own the asset (ws_…).
source
string
no
An HTTPS URL that serves the media bytes directly — an HTML page or player that merely displays them is rejected, and the content type is read from the response or the URL's file extension — or the literal "signed-url" to reserve an upload slot. If an anonymous fetch returns HTTP 401/403/404, do not retry; use "signed-url".
project_id
string
no
Attach the asset to this project canvas (prj_…). The project must belong to the workspace named by workspace_id. Use project_id from flora_list_projects or flora_create_project. An API-issued canvas URL's /projects/<id> segment becomes prj_<id>.
file_name
string
no
File name, required for signed-url uploads.
content_type
string
no
MIME type, required for signed-url uploads. Must be one of the allowed types in the tool description.
size_bytes
integer
no
Exact file size in bytes; required for signed GLB uploads. Minimum 1.
folder
string
no
Destination folder. With sources, this is the default for entries that do not set their own.
sources
array of object
no
Batch upload: up to 25 entries, each an object with a source (an HTTPS URL or "signed-url"); file_name and content_type are required on "signed-url" entries, size_bytes is required for GLB signed uploads, folder optional. Pass this OR the top-level source, not both. Up to 25 items.
sources[].source
string
yes
An HTTPS URL FLORA fetches, or the literal "signed-url".
sources[].file_name
string
no
File name, required for "signed-url" entries.
sources[].content_type
string
no
MIME type, required for "signed-url" entries. Must be one of the allowed types in the tool description.
sources[].size_bytes
integer
no
Exact file size in bytes; required for signed GLB uploads. Minimum 1.
sources[].folder
string
no
Destination folder for this entry only.
Returns: Each asset's asset_id (asset_…). A signed-url entry also gets an upload_page link (valid 15 minutes) to give the user and an upload descriptor for clients with a shell. With sources, {assets} has one entry per file, and a failed entry never stops the rest.
Cost: Free. This tool doesn't spend money.
Usually comes after: flora_list_workspaces
Usually comes before: flora_complete_asset, flora_attach_asset
Example prompt: "Upload this product photo and my logo file to the Spring campaign project."
Example call:
flora_complete_asset
Finish a signed-url upload once the file's bytes are uploaded, or finish up to 25 at once.
Labels: writes
Shown in clients as: Complete asset upload
Use when: The user submitted the upload_page form, or your shell finished the multipart POST to upload.url.
Don't use when: The file came from a public URL that FLORA fetched. If it reports the bytes missing or the link expired, call flora_create_asset again for a fresh reservation instead of reusing the old link.
Arguments
asset_id
string
no
Asset to finalize: the asset_… id flora_create_asset returned.
asset_ids
array of string
no
Finish several signed-url assets (asset_… ids) in one call — pass this OR asset_id. 1 to 25 items.
Returns: The asset's final URL and status. With asset_ids, {assets} with ok and either status ready or failed (with failure_message) for each entry.
Cost: Free. This tool doesn't spend money.
Usually comes after: flora_create_asset
Usually comes before: flora_attach_asset
Example prompt: "I've uploaded the logo. Finish it."
Example call:
flora_attach_asset
Place an existing asset on a project canvas as a node.
Labels: writes
Shown in clients as: Attach asset
Use when: An uploaded asset should appear on a canvas. The asset must be ready and in the project's workspace.
Don't use when: The asset is still pending_upload or failed: check it with flora_get_asset first. To place media from a URL without uploading it, use flora_add_to_canvas with content_url.
Arguments
asset_id
string
yes
Asset to place: an asset_… id as returned by flora_create_asset or flora_list_assets, in the project's workspace.
project_id
string
yes
Project canvas to place it on (prj_…). Use project_id from flora_list_projects or flora_create_project. An API-issued canvas URL's /projects/<id> segment becomes prj_<id>.
Returns: The canvas node it created. Its node ID (api_asset_…) works in later canvas calls such as flora_arrange_canvas.
Cost: Free. This tool doesn't spend money.
Usually comes after: flora_complete_asset, flora_get_asset
Usually comes before: flora_arrange_canvas
Example prompt: "Put the logo I uploaded on the Spring campaign canvas."
Example call:
flora_get_asset
Read one asset's metadata, or turn up to 100 asset IDs into URLs in one call.
Labels: read-only
Shown in clients as: Get asset
Use when: You need an asset's URL or status, or want to know why an upload failed.
Don't use when: You're browsing: use flora_list_assets. Pass an asset_… ID, never a node ID or URL.
Arguments
asset_id
string
no
Asset to read: an asset_… id as returned by flora_create_asset or flora_list_assets, not a node id or URL.
asset_ids
array of string
no
Resolve several asset_… ids to their URLs in one call — pass this OR asset_id. 1 to 100 items.
Returns: The asset's metadata, including its status and failure_message when the upload didn't finish. With asset_ids, one entry per ID with its url or not_found: true.
Cost: Free. This tool doesn't spend money.
Usually comes after: flora_create_asset, flora_complete_asset
Usually comes before: flora_attach_asset
Example prompt: "Is the video I uploaded ready yet?"
Example call:
flora_list_assets
List the assets in a workspace or project, with an optional name filter.
Labels: read-only
Shown in clients as: List assets
Use when: The user wants to reuse a file they uploaded before.
Don't use when: You have asset IDs and need their URLs: use flora_get_asset with asset_ids.
Arguments
workspace_id
string
no
Filter by workspace (ws_…).
project_id
string
no
Filter by project (prj_…). Use project_id from flora_list_projects or flora_create_project. An API-issued canvas URL's /projects/<id> segment becomes prj_<id>.
query
string
no
Filter by asset name.
limit
number
no
Max items to return (default 20).
cursor
string
no
Pagination cursor from a previous call's meta.next_cursor.
Returns: A page of assets with their IDs (asset_…) and URLs, and meta.next_cursor.
Cost: Free. This tool doesn't spend money.
Usually comes after: flora_list_workspaces
Usually comes before: flora_attach_asset, flora_get_asset
Example prompt: "Find the logo files I uploaded to FLORA."
Example call:
Last updated
Was this helpful?