Summarize a YouTube video
analyze_youtube_videoSummarize a YouTube video the brand's AI answers cite: its summary,
key points, topics and transcript, for get_youtube_summary.
Spends credits: 1 credit per 5 minutes of video, rounded up, at
most 24 (get_account lists the rule under agents.youtube),
charged when the run starts and refunded if it fails. credits is
what this call spends, 0 when it starts nothing. The run usually
takes about a minute, so this answers at once with run_id and
status; read the result with get_youtube_summary.
Nothing new is started, and nothing charged, when:
the brand already has a summary of the video: it comes back with
statusdone, free;a summary of it is already in progress: that run comes back;
the video can't be summarized or the workspace can't pay:
statusiserrorwith anerror_code(not_youtube,video_unavailable,video_too_long,probe_unavailableorinsufficient_credits, which addscredits_neededandcredit_balance) and anotesaying why. Asking again within 15 minutes ofvideo_unavailable,video_too_long, or ofinsufficient_creditswhile the balance is still short, returns that same answer without looking the video up again.
started is true only when this call started a run. Refused with
PLAN_LIMIT when the plan doesn't include video summaries, and
NOT_FOUND when the brand's answers don't cite the URL (find cited
videos with list_citations and domain="youtube.com").
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": {
"brand": "<brand>",
"url": "<url>"
},
"name": "analyze_youtube_video"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The YouTube URL as cited, e.g. from ``list_citations``. | |
| brand | Yes | Brand name from ``list_tracked_brands``. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||