Job Logs
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:
96bbc6af2ac20eeb82c2587f6c686a9eccbb62786671fb9756af7823ca51c683
Use this to read the bounded, sanitized log summary for a previously returned job ID when status alone is insufficient. It never returns request headers.
Request Body
{
"jsonrpc": "2.0",
"id": "ffmpeg-job-logs-example",
"method": "tools/call",
"params": {
"name": "ffmpeg.job_logs",
"arguments": {
"job_id": "job_id_123"
}
}
}
Arguments Schema
{
"type": "object",
"required": [
"job_id"
],
"properties": {
"job_id": {
"type": "string",
"description": "Stable processing job ID returned by an FFmpeg operation."
}
},
"additionalProperties": false
}
Output Schema
{
"type": "object",
"required": [
"job_id",
"status"
],
"properties": {
"error": {
"type": "string",
"description": "Safe error summary when the job failed."
},
"job_id": {
"type": "string",
"description": "Requested job ID."
},
"status": {
"type": "string",
"description": "Provider job status."
},
"logs_short": {
"type": "string",
"description": "Bounded sanitized job log summary."
},
"last_log_line": {
"type": "string",
"description": "Last non-empty sanitized log line."
}
},
"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-job-logs-example",
"method": "tools/call",
"params": {
"name": "ffmpeg.job_logs",
"arguments": {
"job_id": "job_id_123"
}
}
}'
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-job-logs-example",
"method": "tools/call",
"params": {
"name": "ffmpeg.job_logs",
"arguments": {
"job_id": "job_id_123"
}
}
}),
});
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-job-logs-example",
"method": "tools/call",
"params": {
"name": "ffmpeg.job_logs",
"arguments": {
"job_id": "job_id_123"
}
}
}
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.job_logs 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."
}