Get YouTube summary
get_youtube_summaryReturn the full Gemini-generated summary for one cited YouTube URL.
Pair with list_youtube_summaries to discover URLs, then call this
to read the full text. transcript_text is omitted by default
(transcripts can be tens of KB); pass include_transcript=True
when you need it.
When the brand's run on the URL hasn't finished (started with
analyze_youtube_video), the reply is NOT_FOUND whose
details carry that run's run_id, status (pending,
running or error) and error_code. Call again once it's
done.
Returns NOT_FOUND if any of the following is true (deliberately
collapsed — never leaks which gate failed):
The URL is unknown to this database.
The named brand has no
YoutubeAgentRunon this URL (the paywall is brand-level; a sibling brand's paid summary does not count).The named brand does not cite this URL via any active subscription (cross-brand isolation).
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": "get_youtube_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | The full YouTube URL. Normalised server-side so query parameters and trailing slashes don't break the lookup. | |
| brand | Yes | Brand name from ``list_tracked_brands``. | |
| include_transcript | No | When ``True``, include the full transcript text. Default ``False``. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||