Skip to main content

Media Export To Discord

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

WRITEffmpeg.media_export_to_discord
  • Contract tier: agent_ready
  • Risk: write
  • Catalog version: 2026-07-12.3
  • Descriptor hash: 063856014631cd366e4f1720cffcd1a058386f3da2fa07b4028a6f0856bd2333

Use this to upload a staged asset to a specific Discord channel with an optional message. It writes to an external system and requires configured Discord credentials.

Request Body

{
"jsonrpc": "2.0",
"id": "ffmpeg-media-export-to-discord-example",
"method": "tools/call",
"params": {
"name": "ffmpeg.media_export_to_discord",
"arguments": {
"asset_id": "asset_id_123",
"channel_id": "channel_id_123",
"message": "",
"filename": ""
}
}
}

Arguments Schema

{
"type": "object",
"required": [
"asset_id",
"channel_id"
],
"properties": {
"message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Optional Discord message sent with the exported file."
},
"asset_id": {
"type": "string",
"description": "Stable ID of one staged FFmpeg media asset."
},
"filename": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Optional safe filename for the exported attachment."
},
"channel_id": {
"type": "string",
"description": "Discord channel ID that should receive the exported asset."
}
},
"additionalProperties": false
}

Output Schema

{
"type": "object",
"required": [
"message_id"
],
"properties": {
"message_id": {
"type": "string",
"description": "Created Discord message 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-discord-example",
"method": "tools/call",
"params": {
"name": "ffmpeg.media_export_to_discord",
"arguments": {
"asset_id": "asset_id_123",
"channel_id": "channel_id_123",
"message": "",
"filename": ""
}
}
}'

Example Responses

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