TubeOnAITubeOnAIDevelopers
Skip to Content
TubeOnAITubeOnAIDevelopers
MCP

Tool reference

These tools are defined by the TubeOnAI MCP contract. For connection and result formats, see Protocol and examples.

get_transcript

Get the transcript or full text of a YouTube video, supported public media, podcast episode, article, PDF, uploaded document, audio/video file or PNG/JPEG image.

  • allow_image_ocr — Run AI image OCR only after explicit user consent to the configured credit policy.
  • allow_paid_transcription — Paid speech-to-text when there are no captions. Only after the user agreed to the cost.
  • cursor — next_cursor from the previous page. Fetch it only if the question needs more.
  • format
  • id — The id from an earlier call: continue a pending item or fetch another page.
  • media_url — Explicit native-media discovery for a URL outside the known routing hints.
  • podcast — One explicitly selected publisher episode; mutually exclusive with URL, item and upload.
  • poll_only — Continue an existing item without starting another attempt if it fails. Only with id; defaults to false.
  • upload_id — A verified Library-purpose upload returned by get_upload; never a local path.
  • url — A YouTube video, article or public document URL. For podcasts use the explicit podcast selector.

discover_podcast

Discover publisher-provided transcripts from a public RSS feed or episode page. Pass url and a stable idempotency_key once; poll processing results with id after retry_after_sec. Explicitly choose a returned feed and episode GUID, then call get_transcript with podcast:{feed_url,episode_guid}. Never import the latest episode or whole feed implicitly. No audio transcription or credits are triggered by discovery; missing publisher transcripts require another episode or a supplied transcript.

  • id
  • idempotency_key
  • url

get_account

Show the user's TubeOnAI plan, remaining credits and how many free transcripts are left today (and when they reset).

Takes no arguments.

create_upload

Create a private Library upload intent from immutable file metadata and a stable idempotency_key. Returns an upload id and a short-lived signed HTTP PUT grant with required headers. Use a trusted local HTTP/file tool to stream the actual bytes to grant.upload_url, including every grant.headers entry; never send the TubeOnAI bearer token to storage. This tool does not read local paths or accept base64, and does not upload bytes itself. If no file/HTTP capability is available, tell the user and stop. After PUT succeeds, call complete_upload with id, then get_upload until ready. Do not infer parsing support from the filename or content type; verification may fail with a typed reason.

  • content_type (required)
  • declared_size_bytes (required)
  • expected_sha256
  • idempotency_key (required) — Required stable key for this immutable upload request; reuse only for its retries.
  • original_filename

complete_upload

After the signed storage PUT succeeds, complete a Library upload by id to enqueue verification and parsing. Safe to retry the same id; the existing ingest job is returned. Completion does not mean the document is ready. Call get_upload and follow retry_after_sec. Foreign uploads and uploads for another purpose are not accessible.

  • id (required)

get_upload

Read a private Library upload status by id. If ready is false and retry_after_sec is positive, wait that many seconds before checking again. A failed or cancelled job is terminal: relay failure_reason and do not request a transcript. When ready is true, call get_transcript with upload_id. This status only verifies and parses the upload; transcript admission creates or reuses its Library item and uses the normal daily allowance.

  • id (required)

list_channel_subscriptions

List the channels and feeds the user follows, with delivery settings, rules, pause state, unseen counts and the revision update_channel_delivery needs.

Takes no arguments.

resolve_channel

Start looking up a YouTube channel (link or @handle) or an RSS/Atom feed to follow. Returns an id; poll get_channel_resolution with it. Nothing is followed and no credits are spent. Podcasts cannot be followed.

  • idempotency_key (required) — Required stable key for this request; reuse only for its retries.
  • input (required) — A YouTube channel link or @handle, or an RSS/Atom feed or website address.

get_channel_resolution

Read a resolve_channel result: pending, failed, or ready with a verdict (youtube_channel or rss_feed can be followed; others explain why not). Pass its id as resolution_id to subscribe_channel only after the user confirms the source.

  • id (required) — The id returned by resolve_channel.

subscribe_channel

Follow a resolved channel or feed (resolution_id or source_id). Following never processes new uploads by itself and spends no credits. Only call after the user explicitly asks to follow it.

  • digest — Include this channel in digests (default true).
  • idempotency_key (required) — Required stable key for this request; reuse only for its retries.
  • resolution_id — A resolve_channel id whose resolution is ready (verdict youtube_channel or rss_feed).
  • source_id — A source id from list_channel_subscriptions or a ready resolution.
  • topic — Topic label; defaults to Other.

unsubscribe_channel

Stop following a channel or feed by follow id. The follow can be restored in the web app for a short time (restore_until_ms).

  • id (required) — The follow id from list_channel_subscriptions.
  • idempotency_key (required) — Required stable key for this request; reuse only for its retries.

update_channel_delivery

Change how one followed channel is delivered: digest inclusion, pause, notify, topic and rules (skip_shorts, min_length_min, keywords). Pass expected_revision from list_channel_subscriptions; a revision conflict means re-list and retry. Never spends credits.

  • digest
  • expected_revision (required) — The follow's current revision from list_channel_subscriptions.
  • id (required) — The follow id from list_channel_subscriptions.
  • keywords
  • min_length_min
  • notify — In-app alert for new uploads.
  • paused
  • skip_shorts
  • topic

list_library

List the sources saved in the user's TubeOnAI library, newest first: videos, podcasts, articles, documents, uploads and pasted text.

  • cursor — next_cursor from the previous page.
  • kind — Only sources of this kind.
  • limit — Page size, 1 to 100; default 20.
  • query — Words to find in source titles (literal, case-insensitive).
  • status — Only items in this state.

get_library_item

Read one library item by id: its title, kind, status, failure reason, source link, whether its transcript can be read now, and the projects it is in.

  • id (required) — The id from a list or create call.

add_to_library

Save one or more URLs (YouTube videos, articles, public documents) to the user's TubeOnAI library and start extracting their transcripts in the background. It answers at once with an item id and status per URL, or that URL's error.

  • allow_paid_transcription — Paid speech-to-text for videos without captions. Only after the user's explicit yes to the quoted cost.
  • urls (required) — 1 to 20 YouTube, article or public document URLs.

delete_library_item

Delete one item from the user's TubeOnAI library. The deletion is accepted at once (deletion_id) and completes in the background; the user can undo it in the web app for a short time.

  • confirm — Must be true, sent only after the user's explicit yes.
  • id (required)
  • idempotency_key (required) — Required stable key for this deletion; reuse only for its retries.

list_projects

List the user's TubeOnAI projects: groups of sources (videos, podcasts, articles, documents) the user works with together, newest first, with source counts.

  • cursor — next_cursor from the previous page.
  • limit — Page size, 1 to 100; default 20.
  • query — Words to find in project names.

create_project

Create a project from 2 to 20 sources, in order. Each source is a URL or a library item id. New URLs are added to the library and their transcripts are extracted in the background, never with paid transcription: a video without captions waits for captions.

  • idempotency_key (required) — Required stable key for this project; reuse only for its retries.
  • name (required)
  • sources (required) — 2 to 20 sources, in order: each a URL or a library item id.

get_project

Read one project: its name, counts and its sources in order, each with its library item id, title, link, status and whether its transcript can be read now.

  • id (required) — The id from a list or create call.

rename_project

Rename one project. Only call it when the user asks for the new name. Pass a new idempotency_key per rename and reuse it only for its retries.

  • id (required)
  • idempotency_key (required) — Required stable key for this rename; reuse only for its retries.
  • name (required)

add_to_project

Add sources to an existing project: each a URL or a library item id. New URLs are added to the library and their transcripts are extracted in the background, never with paid transcription. A project holds at most 20 sources.

  • id (required)
  • idempotency_key (required) — Required stable key for this request; reuse only for its retries.
  • sources (required) — Each a URL or a library item id.

remove_from_project

Remove one source from a project by its library item id. The source stays in the user's library and can be added again. Only after the user explicitly asks and agrees, call it with confirm: true; without it nothing changes and it fails with confirmation_required. Pass a new idempotency_key per removal and reuse it only for its retries.

  • confirm — Must be true, sent only after the user's explicit yes.
  • id (required)
  • idempotency_key (required) — Required stable key for this removal; reuse only for its retries.
  • source_id (required) — The library item id of the source to remove.

delete_project

Delete one project. Its sources stay in the user's library; the user can restore the project in the web app for a short time. The answer carries the deletion's deletion_id.

  • confirm — Must be true, sent only after the user's explicit yes.
  • id (required)
  • idempotency_key (required) — Required stable key for this deletion; reuse only for its retries.

list_publish_destinations

List the places the user connected in TubeOnAI for publishing: social accounts, pages and channels, Telegram chats and WordPress sites. A destination with can_publish: false says why in reason: provider_paused (TubeOnAI has paused publishing to that platform for now; nothing the user can fix) or reconnect_required (the user reconnects it or finishes its setup in the web app). text_only_ok: false marks platforms that need an image or video, which create_post can't send.

Takes no arguments.

create_post

Publish text now, or schedule it, to one to five connected destinations from list_publish_destinations. This posts publicly on the user's behalf.

  • confirm — Must be true, sent only after the user's explicit yes to this text, these destinations and this time.
  • destinations (required) — 1 to 5 destinations from list_publish_destinations.
  • idempotency_key (required) — Required stable key for this post; reuse only for its retries.
  • offset_minutes — Minutes east of UTC, only to pick one of the two times a daylight-saving change repeats.
  • schedule_at — Local time YYYY-MM-DDTHH:mm to schedule; omit to publish now.
  • text (required) — The post text.
  • timezone — IANA timezone for schedule_at, e.g. Europe/Berlin.

list_posts

List the user's post deliveries (one per destination) due in a time window: scheduled, published, failed or cancelled, with links to published posts. Defaults to a week back through five weeks ahead; a window is at most 42 days (from_ms, to_ms in Unix milliseconds) and only deliveries due in it are listed, oldest first; pass next_cursor as cursor (same window) for more. It reads only.

  • cursor — next_cursor from the previous page; it keeps that page's window.
  • from_ms — Unix milliseconds, inclusive; default a week ago.
  • limit — Page size, 1 to 100; default 50.
  • to_ms — Unix milliseconds, exclusive, at most 42 days after from_ms; default five weeks ahead.

get_post

Read one post's deliveries, one per destination: status, due time, the published link and any failure reason. Use the post_id from create_post or list_posts. It reads only.

  • id (required) — The id from a list or create call.

reschedule_post

Move one scheduled delivery (a delivery_id from get_post or list_posts) to a new time: schedule_at as local time YYYY-MM-DDTHH:mm with an IANA timezone (offset_minutes picks one of two repeated daylight-saving times). Pass the delivery's revision as expected_revision; a conflict means read it again.

  • confirm — Must be true, sent only after the user's explicit yes.
  • delivery_id (required) — A delivery id from get_post or list_posts.
  • expected_revision (required) — The delivery's revision.
  • offset_minutes — Minutes east of UTC, only to pick one of the two times a daylight-saving change repeats.
  • schedule_at (required) — New local time YYYY-MM-DDTHH:mm.
  • timezone (required) — IANA timezone, e.g. Europe/Berlin.

cancel_post

Cancel one scheduled delivery (a delivery_id from get_post or list_posts) so it is not published. The user can restore it in the web app. Pass the delivery's revision as expected_revision; a conflict means read it again.

  • confirm — Must be true, sent only after the user's explicit yes.
  • delivery_id (required) — A delivery id from get_post or list_posts.
  • expected_revision (required) — The delivery's revision.

On this page