Inspect Media
Immutable Catalog + Curated Guide
This lossless descriptor comes from the active Portal catalog and is enhanced with reviewed examples.
- Contract tier:
agent_ready - Risk:
write - Catalog version:
2026-07-12.3 - Descriptor hash:
7c0395b519535be5fb0ae40abaf56b77abf5199d144c8b7826d486e68dd63f30
Extract technical metadata from a media source.
Request Body
{
"jsonrpc": "2.0",
"id": "ffmpeg-media-probe-example",
"method": "tools/call",
"params": {
"name": "ffmpeg.media_probe",
"arguments": {
"source_url": "https://cdn.example.com/video/demo.mp4"
}
}
}
Arguments Schema
{
"type": "object",
"required": [
"asset_id"
],
"properties": {
"asset_id": {
"type": "string",
"description": "Stable ID of one staged FFmpeg media asset."
}
},
"additionalProperties": false
}
Output Schema
{
"type": "object",
"properties": {
"format": {
"type": "object",
"description": "ffprobe container metadata.",
"additionalProperties": true
},
"streams": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"description": "ffprobe audio, video, and subtitle stream metadata."
}
},
"additionalProperties": true
}
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-media-probe-example",
"method": "tools/call",
"params": {
"name": "ffmpeg.media_probe",
"arguments": {
"source_url": "https://cdn.example.com/video/demo.mp4"
}
}
}'
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-media-probe-example",
"method": "tools/call",
"params": {
"name": "ffmpeg.media_probe",
"arguments": {
"source_url": "https://cdn.example.com/video/demo.mp4"
}
}
}),
});
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-media-probe-example",
"method": "tools/call",
"params": {
"name": "ffmpeg.media_probe",
"arguments": {
"source_url": "https://cdn.example.com/video/demo.mp4"
}
}
}
response = requests.post(url, headers=headers, json=payload, timeout=60)
print(response.json())
Example Responses
- 200 Success
- 400 Source Invalid
{
"ok": true,
"duration_seconds": 132.4,
"video_codec": "h264",
"audio_codec": "aac"
}
{
"ok": false,
"error": "invalid_source",
"message": "source_url is required"
}