Skip To Main Content
All modules

YouTube

Fields marked * are required. Updates keep every field they are not given. An AI app can ask vritto_describe for the same details, filtered to what its connection may use.

Saved Videovideo

A YouTube video saved in Vritto.

youtube_queryYoutubeDashboardFindthrough vritto_find

Return the YouTube workspace snapshot. Use this for watch-queue, new-uploads, and playlist-ID questions. Defaults to a compact summary: per-collection counts plus capped Up Next, feed, and playlist rows.

FieldTypeDescription
detailone of summary, fullResponse shape: "summary" (default, counts + capped Up Next/feed/playlist rows) or "full" (all nine collections with complete records incl. long descriptions and note bodies).
youtube_queryYoutubeRecordsFindthrough vritto_find

Search the user's saved YouTube video library by text, newest-updated first. Use this to resolve video IDs before record writes.

FieldTypeDescription
querystringCase-insensitive text matched against title, channel, description, and tags.
detailone of summary, fullRow shape: "summary" (default, id/videoId/title/channel/date/status/rating) or "full" (every field incl. the long description).
limitintegerMaximum records (default 50 in summary mode).
cursorstringPagination cursor from a previous nextCursor.
youtube_queryYoutubeStatsFindthrough vritto_find

Return total saved YouTube videos and watch-note counts. Year and rating breakdowns are not tracked for YouTube and come back empty.

No input.

youtube_importYoutubeUrlCreatethrough vritto_create

Import a YouTube URL into the saved video library, fetching title, channel, and duration metadata. Use this whenever the user provides a YouTube link. Passing a recommender also records a pending recommendation.

FieldTypeDescription
url*stringYouTube video URL (watch, youtu.be, shorts, embed, or live link).
reasonstringWhy the video was saved or recommended.
recommendedByPersonIdstringVritto People record ID of the recommender.
recommendedByNamestringFree-text recommender name when no People record exists.
projectIdstringVritto project ID this video supports.
Example input
{
  "url": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
  "reason": "Priya's pick for the playlist"
}
youtube_upsertYoutubeRecordCreatethrough vritto_create

Create or refresh a saved YouTube video record by video ID; metadata is refetched from the YouTube Data API when available, with the provided fields as offline fallback. Prefer youtube_importYoutubeUrl when the user gives a URL. Status, rating, and notes are not stored by this action.

FieldTypeDescription
record*objectVideo record body.
record.providerRef*objectProvider reference; only providerId is used.
record.titlestringFallback title when YouTube metadata is unavailable.
record.channelTitlestringFallback channel name.
record.descriptionstringFallback description.
record.thumbnailUrlstringFallback thumbnail URL.
youtube_linkYoutubeVideoToProjectUpdatethrough vritto_update

Link an already-saved YouTube video to a Vritto project as research/reference material. For a new URL, prefer youtube_importYoutubeUrl with projectId.

FieldTypeDescription
youtubeVideoId*stringYouTube video ID.
projectId*stringVritto project ID.
reasonstringWhy this video supports the project.
statusstringLink status label; defaults to "reference".
youtube_deleteYoutubeRecordDeletethrough vritto_delete

Remove one saved YouTube video along with its feed and inbox entries. Only for explicit removals.

FieldTypeDescription
mediaRecordId*stringSaved video ID to delete (the YouTube video ID).

Video Notevideo_note

A note, question, or idea captured against a video.

youtube_createYoutubeWatchNoteCreatethrough vritto_create

Capture a watch note against a YouTube video: a plain note, a question, or a task/project idea, optionally pinned to a timestamp and linked to a Vritto project.

FieldTypeDescription
youtubeVideoId*stringYouTube video ID the note belongs to.
body*stringNote text.
kindone of note, question, task_idea, project_ideaNote kind; defaults to "note".
timestampSecondsintegerVideo timestamp the note refers to, in seconds.
projectIdstringVritto project ID this note supports.
feedItemIdstringFeed item ID the note was taken from, when known.
youtube_updateYoutubeWatchNoteUpdatethrough vritto_update

Update an existing watch note's body, kind, or timestamp. Omitted patch fields keep their current values.

FieldTypeDescription
noteId*stringWatch note ID.
patch*objectFields to change; omitted fields keep current values.
patch.bodystringNew note text.
patch.kindone of note, question, task_idea, project_ideaNew note kind.
patch.timestampSecondsintegerNew video timestamp in seconds, or null to clear.
youtube_deleteYoutubeWatchNoteDeletethrough vritto_delete

Delete one watch note. Only for explicit removals.

FieldTypeDescription
noteId*stringWatch note ID to delete.

Playlist Itemplaylist_item

A video's place in a Vritto playlist, such as Up Next.

youtube_queryYoutubePlaylistItemsFindthrough vritto_find

List the videos in one playlist in position order (including the Up Next and Watched system playlists). Resolve the playlistId with youtube_queryYoutubeDashboard first.

FieldTypeDescription
playlistId*stringPlaylist ID.
youtube_addVideoToPlaylistCreatethrough vritto_create

Add a saved video to a playlist (e.g. the Up Next queue), snapshotting its metadata; adding a duplicate is a no-op. Resolve the playlistId with youtube_queryYoutubeDashboard first.

FieldTypeDescription
playlistId*stringDestination playlist ID.
youtubeVideoId*stringYouTube video ID of a saved video, e.g. "dQw4w9WgXcQ".
youtube_removeYoutubePlaylistItemDeletethrough vritto_delete

Remove one entry from a playlist by its playlist-item ID (from youtube_queryYoutubePlaylistItems, not the video ID). Only for explicit removals.

FieldTypeDescription
itemId*stringPlaylist item ID to remove.

Kept in the Vritto app

  • youtube_queryYoutubeWatchLogs: Superseded by a newer operation that is on MCP.
  • youtube_addYoutubeWatchLog: Superseded by a newer operation that is on MCP.
  • youtube_updateYoutubeWatchLog: Superseded by a newer operation that is on MCP.
  • youtube_deleteYoutubeWatchLog: Superseded by a newer operation that is on MCP.
  • youtube_upsertYoutubeRecommendation: Superseded by a newer operation that is on MCP.
  • youtube_upsertYoutubePersonTaste: Superseded by a newer operation that is on MCP.