mirelo_create_asset_upload_slot
Create an asset upload slot for a given content type, returning an asset ID and a presigned upload URL. Optionally uploads a local file to make the asset immediately usable.
Instructions
Create an asset upload slot (POST /v2/assets) for a given content_type, returning an asset_id and a presigned upload_url. When an optional local file_path is provided, the file's bytes are uploaded to that URL so the asset_id is immediately usable in generation and editing operations.
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": {
"content_type": "<content_type>"
},
"name": "mirelo_create_asset_upload_slot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | No | Optional path to a local file whose bytes are uploaded to the returned presigned URL. When provided, the path must resolve to a readable file. | |
| content_type | Yes | The MIME content type of the file to upload, e.g. "audio/wav". Required, non-empty. |