Skip to main content

Campaign Process

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

WRITEffmpeg.campaign_process
  • Contract tier: agent_ready
  • Risk: write
  • Catalog version: 2026-07-12.3
  • Descriptor hash: 76c267dfebaab015a794a5bb50503d065573b06d3a4dbd1c291a2d44a6f1697d

Use this to process a bounded set of staged assets across social presets and optional template/brand settings. It queues a campaign batch job.

Request Body

{
"jsonrpc": "2.0",
"id": "ffmpeg-campaign-process-example",
"method": "tools/call",
"params": {
"name": "ffmpeg.campaign_process",
"arguments": {
"asset_ids": [],
"presets": "",
"quality": "",
"priority": "",
"variables": "",
"brand_kit_id": "",
"template_name": ""
}
}
}

Arguments Schema

{
"type": "object",
"required": [
"asset_ids"
],
"properties": {
"presets": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"description": "Ordered approved FFmpeg preset names for batch output."
},
"quality": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Approved render quality mode, normally draft or final."
},
"priority": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Optional queue priority configured by the server, such as urgent or batch."
},
"asset_ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "Ordered stable IDs of staged FFmpeg media assets."
},
"variables": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"description": "Template variables accepted by the selected approved template."
},
"brand_kit_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Existing local brand-kit identifier."
},
"template_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Exact approved render-template name."
}
},
"additionalProperties": false
}

Output Schema

{
"type": "object",
"required": [
"job_id",
"cache_hit"
],
"properties": {
"job_id": {
"type": "string",
"description": "Stable ID used with the job readback tools."
},
"cache_hit": {
"type": "boolean",
"description": "Whether a matching completed result was reused."
},
"output_asset_ids": {
"type": "array",
"items": {
"type": "string"
},
"description": "Completed output asset IDs when immediately available from cache."
}
},
"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-campaign-process-example",
"method": "tools/call",
"params": {
"name": "ffmpeg.campaign_process",
"arguments": {
"asset_ids": [],
"presets": "",
"quality": "",
"priority": "",
"variables": "",
"brand_kit_id": "",
"template_name": ""
}
}
}'

Example Responses

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