Skip to main content

Media Export To Drive

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

WRITEffmpeg.media_export_to_drive
  • Contract tier: agent_ready
  • Risk: write
  • Catalog version: 2026-07-12.3
  • Descriptor hash: 5cdc8e1524796bd1abd3c400ab732b4e5fe6a95eb3cca95ddeb1564f21dbc6eb

Use this to upload a staged asset to the configured Google Drive destination and return its Drive file ID. It writes to an external system and requires Drive configuration.

Request Body

{
"jsonrpc": "2.0",
"id": "ffmpeg-media-export-to-drive-example",
"method": "tools/call",
"params": {
"name": "ffmpeg.media_export_to_drive",
"arguments": {
"asset_id": "asset_id_123",
"folder_id": ""
}
}
}

Arguments Schema

{
"type": "object",
"required": [
"asset_id"
],
"properties": {
"asset_id": {
"type": "string",
"description": "Stable ID of one staged FFmpeg media asset."
},
"folder_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Optional Google Drive destination folder ID; defaults to the configured folder."
}
},
"additionalProperties": false
}

Output Schema

{
"type": "object",
"required": [
"drive_file_id"
],
"properties": {
"drive_file_id": {
"type": "string",
"description": "Created Google Drive file ID."
}
},
"additionalProperties": false
}

Code Examples

curl -X POST 'https://portal.madpanda3d.com/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "ffmpeg-media-export-to-drive-example",
"method": "tools/call",
"params": {
"name": "ffmpeg.media_export_to_drive",
"arguments": {
"asset_id": "asset_id_123",
"folder_id": ""
}
}
}'

Example Responses

{
"ok": true,
"message": "Tool ffmpeg.media_export_to_drive executed successfully.",
"note": "Response shape varies by MCP tool. Inspect live responses for exact fields."
}