Ffmpeg List Presets
Immutable Catalog Entry
This descriptor comes from the active versioned Portal catalog.
- Contract tier:
agent_ready - Risk:
read - Catalog version:
2026-07-12.3 - Descriptor hash:
f48fe67445029305928d0038296f828916fb72de99c80ce5a6ed73b7d30712c0
Use this to list approved encoding presets before transcode or batch export. It is read-only and does not run FFmpeg.
Request Body
{
"jsonrpc": "2.0",
"id": "ffmpeg-ffmpeg-list-presets-example",
"method": "tools/call",
"params": {
"name": "ffmpeg.ffmpeg_list_presets",
"arguments": {}
}
}
Arguments Schema
{
"type": "object",
"properties": {},
"additionalProperties": false
}
Output Schema
{
"type": "object",
"required": [
"presets"
],
"properties": {
"presets": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"description": "Approved preset summaries."
}
},
"additionalProperties": false
}
Code Examples
- cURL
- Node.js
- Python
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-ffmpeg-list-presets-example",
"method": "tools/call",
"params": {
"name": "ffmpeg.ffmpeg_list_presets",
"arguments": {}
}
}'
const response = await fetch('https://portal.madpanda3d.com/api/mcp', {
method: 'POST',
headers: {
Authorization: 'Bearer mad_live_***',
'Content-Type': 'application/json',
},
body: JSON.stringify({
"jsonrpc": "2.0",
"id": "ffmpeg-ffmpeg-list-presets-example",
"method": "tools/call",
"params": {
"name": "ffmpeg.ffmpeg_list_presets",
"arguments": {}
}
}),
});
const data = await response.json();
console.log(data);
import requests
url = 'https://portal.madpanda3d.com/api/mcp'
headers = {
'Authorization': 'Bearer mad_live_***',
'Content-Type': 'application/json',
}
payload = {
"jsonrpc": "2.0",
"id": "ffmpeg-ffmpeg-list-presets-example",
"method": "tools/call",
"params": {
"name": "ffmpeg.ffmpeg_list_presets",
"arguments": {}
}
}
response = requests.post(url, headers=headers, json=payload, timeout=60)
print(response.json())
Example Responses
- 200 Success
- 502 Upstream Error
{
"ok": true,
"message": "Tool ffmpeg.ffmpeg_list_presets executed successfully.",
"note": "Response shape varies by MCP tool. Inspect live responses for exact fields."
}
{
"ok": false,
"classification": "upstream_http_error",
"message": "Upstream MCP returned a non-success status."
}