Assets
assetsAssets tools for the Draftless AI creative studio. Requires sign-in to run. Actions:
list_assets: List the signed-in user's Asset Library entries (generated and uploaded images, videos, and audio) with their URLs.
import_media_url: Fetch a public media URL (image, video, or audio) and save it into the signed-in user's Asset Library.
upload_file: Upload local file bytes to Draftless storage in ONE call by passing them base64-encoded, and get back a signed URL (valid 24h) usable as `im
open_upload: Opens the upload view so the user can drag-drop or pick local files that go straight to their Draftless storage (then finalized into assets)
create_upload_url: Create a short-lived signed upload URL so an MCP client can PUT local file bytes directly to Draftless storage without going through a URL.
finalize_upload: After PUT-ing bytes to a signed upload URL from create_upload_url, call this with the same object_path to verify the file arrived and get a
create_upload_urls: Batch form of create_upload_url: sign up to 50 uploads in one call.
finalize_uploads: Batch form of finalize_upload: verify up to 50 uploaded objects and get a 24h signed read URL for each, in order ({ index, object_path, url
get_url: Mint a fresh 24h signed URL for media you own.
create_product_capture: Open a PUBLIC product URL in Draftless's headless browser, dismiss cookie banners, screenshot the landing page plus up to 3 distinct pages f
get_product_capture: Status of a create_product_capture job.
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": {
"action": "<action>"
},
"name": "assets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | No | Arguments for the action (see discover.describe_action once signed in). | |
| action | Yes | Which operation to run. |