Skip to main content
Use the call_adcp_agent tool to execute these tasks against any AdCP creative agent.

Task Overview

Typical Workflow

  1. Discover formats: list_creative_formats to see available format specs
  2. Build creative: build_creative to generate or transform a manifest
  3. Preview: preview_creative to see how it renders
  4. Sync: Use sync_creatives (media-buy task) to traffic the creative

Task Reference

list_creative_formats

Discover creative formats and their specifications.
Key fields:
  • format_ids (array, optional): Request specific format IDs
  • type (string, optional): Filter by type: video, display, audio, dooh
  • asset_types (array, optional): Filter by accepted asset types
  • max_width, max_height (integer, optional): Dimension constraints
  • is_responsive (boolean, optional): Filter for responsive formats
  • name_search (string, optional): Search formats by name
Response contains:
  • formats: Array of format definitions with format_id, name, type, assets_required, renders
  • creative_agents: Optional array of other creative agents providing additional formats

build_creative

Generate a creative from scratch or transform an existing creative to a different format. Pure Generation (from brief):
Transformation (resize/reformat):
Key fields:
  • message (string, optional): Natural language instructions for generation/transformation
  • creative_manifest (object, optional): Source manifest - minimal for generation, complete for transformation
  • target_format_id (object, required): Format to generate - { agent_url, id }
Response contains:
  • creative_manifest: Complete manifest ready for preview_creative or sync_creatives

preview_creative

Generate visual previews of creative manifests. Single preview:
With device variants:
Batch preview (5-10x faster):
Key fields:
  • request_type (string, required): "single" or "batch"
  • format_id (object, required for single): Format identifier
  • creative_manifest (object, required): Complete creative manifest
  • inputs (array, optional): Generate variants with different macros/contexts
  • output_format (string, optional): "url" (default) or "html"
Response contains:
  • previews: Array of preview objects with preview_url or preview_html
  • expires_at: When preview URLs expire

Key Concepts

Format IDs

All format references use structured objects:
The agent_url specifies the creative agent authoritative for this format.

Creative Manifests

Manifests pair format specifications with actual assets:

Asset Types

Common asset types:
  • image: Static images (JPEG, PNG, WebP)
  • video: Video files (MP4, WebM) or VAST tags
  • audio: Audio files (MP3, M4A) or DAAST tags
  • text: Headlines, descriptions, CTAs
  • html: HTML5 creatives or third-party tags
  • javascript: JavaScript tags
  • url: Tracking pixels, clickthrough URLs

Brand Manifest

For generative creatives, provide brand context:

Generative vs Transformation

  • Pure Generation: Minimal manifest with promoted_offerings in assets. Creative agent generates all output assets from scratch.
  • Transformation: Complete manifest with existing assets. Creative agent adapts to target format, following message guidance.

Error Handling

Common error patterns:
  • 400 Bad Request: Invalid manifest or format_id
  • 404 Not Found: Format not supported by this agent
  • 422 Validation Error: Manifest doesn’t match format requirements
Error responses include: