analyze_ad
Extract frames and audio from short-form video ads to generate visual contact sheets and transcripts, enabling thorough ad analysis.
Instructions
Give Claude EYES + EARS on a short-form video ad.
Runs the local prep pipeline (download if a URL, sample frames at the configured
fps, tile them into labeled contact sheets, extract audio), transcribes the audio,
and returns: a text block (timestamp legend + transcript) followed by the contact
sheet IMAGES. Look at the images and read the transcript to analyze the ad.
Args:
source: A local video path OR a TikTok / Reels / YouTube / Meta URL.
language: "auto", or an ISO code like "fr" / "en" to force transcription language.
with_audio: set false to skip transcription (eyes only).
Returns: [text, image, image, ...] — contact sheets each have per-cell timestamps
burned into the top-left as `t=SECONDS`, matching the legend in the text block.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"source": "<source>"
},
"name": "analyze_ad"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | ||
| language | No | auto | |
| with_audio | No |