import_asset
Import a media asset as base64-encoded file content through the existing pipeline, avoiding arbitrary local paths or server-side URL fetches.
Instructions
Import a media asset supplied as base64 file content using the existing import pipeline. No arbitrary local paths or server-side URL fetches.
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": {
"name": "<name>",
"mimeType": "<mimeType>",
"data": "<data>"
},
"name": "import_asset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| name | Yes | ||
| mimeType | Yes | ||
| requestId | No | ||
| sessionId | No | ||
| expectedRevision | No |