Vidext v0.15.77 is out: See who spends your tokens, a tidier Settings, and more. Read the release notes →
Skip to Content
Vidext Docs

Tool reference

Every tool on the Vidext MCP server — arguments, limits, defaults, results, and which one to call for each task.

The server exposes eighteen tools: two families, each behind its own scope, and submit_feedback, which takes either:

FamilyToolsScope
Readsearch_knowledge, read_knowledge_source, list_modulesmcp:read (or its earlier name, mcp:operator.read)
Authorauthor_send, author_upload, author_attach_files, author_answer, author_updates, author_stop, list_conversations, and the unit tools list_units, unit_send, unit_updates, unit_build, unit_script, unit_set_text, unit_stopmcp:author
Feedbacksubmit_feedbackmcp:read or mcp:author

tools/list shows all eighteen to every accepted token. Calling a tool whose scope the token lacks answers HTTP 403 with error="insufficient_scope" and a scope naming the scopes to request; a client that supports step-up authorization asks the user to grant it. See Authentication.

The read tools are deterministic reads that run no model, and all carry the same annotations:

AnnotationValue
readOnlyHinttrue
destructiveHintfalse
idempotentHinttrue
openWorldHintfalse

The author tools talk to the Vidext author, the agent that plans and builds modules in the workspace and hands parts of the work to other agents. Once the author has built a course, the unit tools talk to one unit's module crafter, the agent that writes that unit's module. Their annotations are listed with each tool.

Which tool for which task

TaskCall
Find what the organization's sources say about somethingsearch_knowledge, then read_knowledge_source on a result's handle
Find a module, or check whether it is livelist_modules
Ask the author to plan, build, or change a moduleauthor_send
Ask the author for a podcast or a videoauthor_send, in the user's words
Give the author a file to work fromauthor_upload, a PUT of the file, then author_send with its upload_id
Give the author files the user attached in ChatGPTauthor_attach_files, then author_send with their upload_ids
Answer a question the author askedauthor_answer
Follow the author while it worksauthor_updates with the latest cursor
Stop the authorauthor_stop
Pick up an earlier conversation with the authorlist_conversations, then author_send with its conversation_id
Apply one rule or change to every module of a courseauthor_send once, in the user's words
See a built course's units, their crafters and their moduleslist_units
Change one module through its crafterunit_send, then unit_updates with the latest cursor
Build one module after its changesunit_build, then unit_updates until the module carries its preview link
Read a module's script, with the address of each of its textsunit_script
Change one text of a module to exact words, without a crafterunit_script, then unit_set_text with the text's address and current value
Stop a crafter run that unit_send startedunit_stop
Tell the Vidext team about a bug, a problem with these tools, or an ideasubmit_feedback

Not available over MCP: reading or editing courses or a module's scenes directly, or editing a module's script beyond setting one of its texts; publishing; and learner progress. Do those in the Vidext app, or ask the author, or a unit's crafter for one module.

Formats

The author builds each unit of a course in one of three formats: a module (a narrated interactive lesson), a podcast (an episode to listen to), or a video (a narrated video with no checks). A podcast or a video is asked for like anything else, in the user's words with author_send. Each one built is listed among the conversation's modules with its format, and plays from its links.preview.

The unit tools that message a crafter or read and set a script work on modules only. A unit that is a podcast or a video has no module crafter and no module script, so unit_send, unit_script and unit_set_text refuse it, and a change to it goes to the author with author_send. unit_build builds it like any other unit.

Conventions

  • Arguments are strict. Each tool accepts only the arguments listed here. A missing required argument, an extra argument, or a value outside its limits is refused before the tool runs, with a result carrying isError: true and a text that starts Input validation error and names what is wrong. An unknown tool name is refused with JSON-RPC InvalidParams (-32602). Fix the call; retrying it unchanged cannot succeed.
  • Organization selector. Every read tool also accepts organizationSlug and organizationId (strings, 1–255 characters). Leave both out to use the organization bound to the token. See organization scoping.
  • Results. A successful call returns its JSON object twice: as text in content[0].text and as structuredContent. A failure returns isError: true with an error object, except for the two knowledge tools, which report most failures in the result itself with success: false. See Errors and limits.
  • IDs. moduleId is a UUID, as returned by list_modules.

search_knowledge

Search the organization's knowledge and return ranked excerpts, each with an opaque handle for read_knowledge_source.

It searches:

  • the organization profile (org_profile);
  • the source catalog, the title and metadata of every source the organization has added (source_registry);
  • the processed text of those sources (source_content).

Sources are added in the app, and a source is searchable once it has been processed.

Prop

Type

Result. success: true, mode: "search", status ("indexed", or "empty" when there was nothing to search), the query, matchedResults, and results, ordered by relevance. Each result carries:

FieldMeaning
handleOpaque handle to pass to read_knowledge_source. Do not build or edit it.
sourceKindOne of the kinds above.
title, path, documentIdWhat the match is. documentId is set for sources.
excerpt, excerptOffset, excerptEndOffset, excerptTruncatedThe matching passage and where it sits in the source text.
suggestedReadOffsetWhen present, the offset of the best-matching section. Start read_knowledge_source there.
score, matchedFieldsHow the match was ranked.
originalContentLength, sourceMetadataSize of the full text, and the source's catalog metadata.

The result also carries diagnostic counters (such as retrievalTrace). They describe how the search ran; do not build on them.

In-band failures. success: false with status: "invalid" (an empty or too vague query) or status: "unavailable" (knowledge could not be read; reason: "timeout" when the 15-second budget ran out). Unavailable searches can be retried.

read_knowledge_source

Read a bounded slice of one source, by a handle that search_knowledge returned. Arbitrary paths, and stale or altered handles, are refused, and organization access is checked again.

Prop

Type

Result. success: true, mode: "read", the handle, sourceKind, title, path, documentId, sourceMetadata, and the slice:

FieldMeaning
contentThe text, as markdown.
contentOffsetWhere the slice starts.
contentTruncatedtrue when more text follows.
nextOffsetPresent when more text follows: pass it as offset to continue.
remainingChars, originalContentLengthWhat is left, and the full length.

In-band failures. success: false with status:

  • "rejected": the handle did not come from search_knowledge for this organization, or no longer matches the source. Search again.
  • "missing" or "empty": the source, or its processed text, is no longer there.
  • "unavailable": knowledge could not be read right now (reason: "timeout" after 15 seconds). Retry.
  • "invalid": no handle was given.

list_modules

List the organization's modules, most recently updated first. Admins and members see every module in the organization.

Prop

Type

Result.

{
  "organizationId": "…",
  "modules": [
    {
      "id": "018f1111-2222-7333-8444-555555555555",
      "name": "Incident response",
      "description": "…",
      "color": "…",
      "published": true,
      "createdAt": "…",
      "updatedAt": "…"
    }
  ]
}

published is true while the module is live: its course is published and learners can see it. A module that is built but not live, or still a draft, has published: false. The result has no cursor; it returns at most limit modules, so narrow with search to find older ones. It does not include the module's course.

Talking to the author

The author tools carry the user's words to the author and its replies back; the author decides what to plan and build. They follow these conventions:

  • One workspace. The conversation runs in the organization bound to the token, as the user who authorized it. There is no organization selector.
  • Relay, do not author. Put the user's words in message unchanged, show every question with all of its options, and answer only with what the user chose or wrote. The server's instructions, sent on connect, say the same to the client's model.
  • Idempotency. author_send and author_answer take an idempotency_key (1–128 characters). A call repeated with the same key is delivered once; the same key with a different message or answer is refused. Use a new key for each new message or answer, and reuse one only to retry a call that failed or timed out.
  • Waiting. author_send, author_answer, and author_updates wait up to wait_seconds (0–40, default 25; larger values count as 40) for the author to say something, ask something, or stop. They return whatever stands when the wait ends; the author keeps working after the call returns.
  • Progress. A call that sends a progressToken in _meta gets a notifications/progress while it waits, each time what the author is doing changes: the agents at work with their stage, a module being built, or that the workspace is starting. The response then streams as text/event-stream; without a token, or when the first read already has something to show, it is plain JSON.
  • Results. Each returns a short text for the model and the same result as structuredContent. A failure returns isError: true with a sentence that ends with the error code, for example (error: tokens_spent). See Errors and limits.

The conversation result

author_send, author_answer, author_updates, and author_stop return where one conversation stands:

FieldMeaning
conversation_idThe conversation. Pass it back to continue.
statusstarting (the author's workspace is starting), working (the author or one of its agents is running or about to resume, because an attached file is still being read or an agent just handed back its work, or one of its modules is being built), needs_input (a question waits for the user), queued (the message waits behind work already running), idle (nothing is running), or failed (the conversation stopped on an error, given in error).
replyThe author's latest message since cursor, or null. Messages over 6,000 characters are shortened; links.home opens the full text.
messagesThe other messages since cursor, the user's included, oldest first: the last 6, each shortened to 500 characters.
questionsThe author's open questions. Each has a question_id, a header, the question, its options (each a label and an optional description, recommended first), multi_select, and expires_at.
agentsOne line per agent the author started that is still listed: its name, role, and state.
modulesThe modules of the courses the author built in during this conversation, in course order, the podcasts and videos among them included; empty until it builds one. Each has a module_id, its title, its course_id, its format (module, podcast or video: what the prepared version plays as, absent until one is prepared; see Formats), prepared (a version is built and ready to preview and to publish with its course), building (a build of it is still on its way), and links.preview, which plays the prepared version in Vidext, or null until one is prepared. A module is ready once status is idle and its links.preview is present.
links.homeOpens this conversation in Vidext.
cursorPass it to author_updates to read only what came after this result.
errorPresent when status is failed: a code and a message.

author_send

Send the user's message to the author, with the files named in upload_ids attached. Without conversation_id it opens a new conversation. While the author has a question open for the user, the message answers it in the user's own words, as typing in Home does, and the author goes on at once; a confirmation is answered only with author_answer.

Prop

Type

Each file goes beside the message as it does when the user attaches it in Home: the author sees its name and that it is still being read, and hears when it can read it. A file whose bytes did not all arrive, or an upload_id from another conversation, refuses the whole message with invalid, naming every file that cannot go. A retry with the same idempotency_key and the same files is the same message, even if a file finished being read in between.

Annotations: readOnlyHint: false, destructiveHint: false, idempotentHint: true, openWorldHint: true. Returns the conversation result.

author_upload

Open the upload of one file the user shares for the author. Without conversation_id it opens a new conversation for the file, so a file can go with the first message; upload the other files of that message with the conversation_id it returns.

Prop

Type

Vidext reads documents (PDF, .docx, .pptx, .xlsx, plain text, Markdown, CSV, HTML, JSON, XML, YAML, RTF, .vtt and .srt captions, and source code), images (PNG, JPEG, WebP, GIF), audio (MP3, WAV, OGG, M4A, FLAC), and video (MP4, MOV, WebM, M4V). The tool description lists every extension. A document or image may be up to 50 MB, audio up to 25 MB, and video up to 750 MB. Another extension or a larger size is refused with invalid before a conversation is opened. A video longer than two hours is refused later, when Vidext reads it, and the author hears that the file failed.

Result.

FieldMeaning
conversation_idThe conversation the file belongs to; new when the call named none.
upload_idNames the file in author_send's upload_ids.
upload.methodAlways PUT.
upload.urlTakes the file's bytes as the body of one PUT. It is valid for 15 minutes and for this file only; treat it as a secret.
upload.headersHeaders the PUT must send exactly as given (content-type and content-length): the URL's signature covers them.
upload.expires_atWhen upload.url stops working. Attach the file with author_send before then: an upload not attached by then expires, and the file needs a new upload.
links.homeOpens the conversation in Vidext, where the user can add the file themselves.

The text result carries the PUT as a curl command. A client that can make HTTP requests (Claude Code, Cursor, Codex, an agent with a shell) sends the file itself. ChatGPT passes the files the user attached through author_attach_files instead. A client that can do neither, as is usual for chat apps such as Claude.ai, gives the user links.home, and the user adds the file in Vidext.

Annotations: readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false.

author_attach_files

Upload the files the user attached in ChatGPT. The tool declares files in _meta["openai/fileParams"], the ChatGPT Apps SDK's file parameters, so ChatGPT fills it with each file the user attached: its download_url, file_id and, when it knows them, mime_type and file_name. Vidext downloads each file and stores it as author_upload and a PUT would. Without conversation_id the first file Vidext accepts opens a new conversation and the rest go into it.

Prop

Type

Vidext downloads a file only from ChatGPT's file host, over HTTPS, and follows no redirect; any other download_url is refused without being fetched. The download must say its size: a file is held to the kinds and sizes author_upload takes, checked before any byte is stored, and a download that sends more or fewer bytes than it said is not stored. A file without file_name is named after its file_id and its type. ChatGPT's download links are short-lived, so a file refused because its link expired goes up on a new call, which passes a fresh one. Each file passed spends one of the 60 file uploads a minute the user has; a call with more files than are left is refused without spending any.

Result.

FieldMeaning
conversation_idThe conversation the files belong to; new when the call named none.
uploadsEach file stored, in the order given: its file_name, its upload_id for author_send's upload_ids, and expires_at, before which author_send attaches it.
refusedEach file not stored, with its file_name and the reason.
links.homeOpens the conversation in Vidext, where the user can add a file themselves.

When no file is stored the call fails with files_not_stored, naming every file and its reason, and the conversation the call opened, if it opened one, for the next call to use. Other MCP clients cannot pass files this way and use author_upload.

Annotations: readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false.

author_answer

Answer one of the author's open questions with exactly one of labels, text, or dismiss: true.

Prop

Type

A label the question does not offer, or several labels where it takes one, is refused before it reaches the author (invalid_answer). A question already answered elsewhere (already_answered), expired (question_expired), or not open (question_not_open) is refused too. So is a card only Vidext answers, such as a post to Slack or a scheduled agent to make or change (approve_in_vidext): its question says so, and the user answers it at links.home. Annotations: readOnlyHint: false, destructiveHint: false, idempotentHint: true, openWorldHint: true. Returns the conversation result.

author_updates

Read what happened in a conversation since cursor. When nothing has changed and the author is still working, it waits up to wait_seconds for something to.

Prop

Type

Annotations: readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false. Returns the conversation result.

author_stop

Stop the author in one conversation. What it already saved stays saved, and stopping a conversation where nothing runs changes nothing.

Prop

Type

Annotations: readOnlyHint: false, destructiveHint: false, idempotentHint: true, openWorldHint: false. Returns the conversation result as it stands after the stop.

list_conversations

List the user's conversations with the author in this workspace, most recently active first.

Prop

Type

Result. conversations, each with conversation_id, title (or null), updated_at, and a link that opens it in Vidext. Annotations: readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false.

Working on one unit

Once the author has built a course in a conversation, the unit tools reach each unit's module crafter directly, for a change the user asks of one module. A rule or change the user wants in every module goes once to the author with author_send instead: the author records it for the course, writes every module again in one run, and says how many modules took it and which did not. The unit tools follow the author tools' conventions, and these:

  • Unit ids. list_units names each unit with a unit_id. Pass it back unchanged; do not build or edit it.
  • Written for the user. A unit message is written by the client for the user, and should carry only changes the user asked for. It reaches only that unit's crafter: it cannot change the course, its order, or other units, and it never answers the author's questions. A crafter says so when a message asks for one of those, and such a change goes to the author in the user's words.
  • Who the crafter answers. A crafter's run answers whoever started it: the author, the user from the unit's tab in Vidext, or a unit_send. A message to a crafter whose run answers the author or the user is refused until that run ends, and unit_stop stops only a run that unit_send started.
  • Idempotency. unit_send, unit_build and unit_set_text take an idempotency_key (1–128 characters), with the same rules as author_send.
  • Waiting and progress. unit_send and unit_updates wait up to wait_seconds (0–40, default 25) and report progress the way the author tools do: what the crafter is doing with its stage, or that its module is being built.
  • One write per unit. unit_send, unit_build and unit_set_text take one slot per unit, so writes to different units do not wait for each other, while a second write to the same unit waits for the first (write_in_flight). See admission limits.

The unit result

unit_send and unit_updates return where one unit stands:

FieldMeaning
conversation_id, unit_idThe conversation and the unit.
statusstarting (the workspace is starting with the message held), working (the crafter is running, or the module is being built), queued (a message waits for the crafter), idle (nothing is running on this unit), or failed (a held message never reached a crafter, given in error).
replyThe crafter's latest message since cursor, or null. Messages over 6,000 characters are shortened.
messagesThe other messages since cursor, oldest first: the last 6, each shortened to 500 characters. Each has a role: author for the task the author gave the crafter, person for the user's own from the unit's tab in Vidext, delegate for a unit_send, crafter for its replies.
crafterThe crafter's state: running (with its stage and driven_by, whom its run answers: author, person, or delegate; while the author's own crafter plans the unit it is that one, and the unit refuses messages with course_run), ended (it waits for a message), resting (its workspace sleeps, and a message wakes it), or none (the unit has no module crafter: the author never started one for it, or it is a podcast or a video).
crafter_changedPresent and true when a newer crafter took the unit over; messages are then read from its start.
moduleThe unit's module, or null until one is built: its module_id, its format as in the conversation result, prepared, building, stale (true when the prepared version was built from a script the unit has since moved past; unit_build builds the current one), and links.preview, which plays the prepared version, or null until one is prepared. A module is ready once it is no longer building and its links.preview is present.
links.homeOpens the conversation in Vidext.
cursorPass it to unit_updates to read only what came after this result.
errorPresent when status is failed: a code and a message.

unit_send adds delivery: took (the running crafter took the message), queued (it starts the crafter again), duplicate (a call with this idempotency_key already delivered it), or pending (the workspace is starting, and the message is delivered once it is up).

list_units

List every unit of the courses the author built in one conversation, in course order.

Prop

Type

Result. units, empty until the author builds a course, each with its unit_id, title, course_id (or null), course_title when known, its crafter and module as in the unit result, accepts_messages, and refusal when it does not: course_run while the author's own crafter writes the unit, or no_crafter when the unit has no module crafter: the author never started one for it, or it is a podcast or a video. Also links.home. Annotations: readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false.

unit_send

Send a message to one unit's crafter, starting it again when it waits, then wait for its reply or the end of its run. A unit that is a podcast or a video has no module crafter, and the message is refused with no_crafter.

Prop

Type

Annotations: readOnlyHint: false, destructiveHint: false, idempotentHint: true, openWorldHint: true. Returns the unit result with delivery.

unit_updates

Read what happened on one unit since cursor. When nothing has changed and the crafter is still working or the module is building, it waits up to wait_seconds for something to.

Prop

Type

Annotations: readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false. Returns the unit result.

unit_build

Build one unit from its script as it stands, as the build in Vidext does: its module, or its podcast or its video when the unit is one. It returns once the build has started, usually within seconds; the version is prepared minutes later, a module's once its presenter videos are in, and unit_updates or list_units then carry its preview link. It never publishes the module: publishing its course stays the user's, in Vidext.

Prop

Type

Result. conversation_id, unit_id, operation_id when the build names one, and on_its_way: true when a build of the same script was already on its way, so this call started no other. A build that cannot start fails with the build's own reason as its code; see unit build refusals. Annotations: readOnlyHint: false, destructiveHint: false, idempotentHint: true, openWorldHint: true.

unit_script

Read one unit's module script as the Vidext studio reads it, without running a model. Repeating the call reads the script as it stands then.

Prop

Type

Result. conversation_id, unit_id, format, the module's title (or null), texts (every text of the script that unit_set_text can set, each an address and its current value), and scenes, every scene in script order, those with no text to edit included. Each scene has its kind (opening, intro, beat, check, video, interactive, roleplay, or outro), its chapter and title (or null), and its texts; depending on its kind it also carries its number, its narration, its questions (each with its options, their feedback, the right answers, and the explanation), a video's src or file, and stale: true when its layout was made for an earlier version of its words. A roleplay scene carries the roleplay's id as roleplay and, once its file can be read, its title, character (name and role) and goal; its narration is what is said before the learner's brief. Its texts are the brief's lines and its criteria, which unit_set_text can set: each address is { kind: "roleplay", roleplay, field }, with field one of title, name, role, setting, goal or opening, or, for a criterion, field: "criterion" with criterion from c1 to c5. The character's own brief and the narration before the roleplay are not among them: ask the unit's crafter for a change to them with unit_send. While the unit has no applied module script yet, the call is refused with no_script, which a later call can retry; a unit that is a podcast or a video has no module script, and the call is refused with not_a_module; it is also refused when the conversation or the unit is not this person's, or the script cannot be read whole. Annotations: readOnlyHint: true, destructiveHint: false, idempotentHint: true, openWorldHint: false.

unit_set_text

Set one text of a unit's module to exact words, as a text typed in the studio is, without running a model: the module's promise, a paragraph, a line of narration, a question, an option, its feedback, a title, a line of a roleplay's brief or one of its criteria. It changes the script, not a built module: unit_build then builds the module with it.

Prop

Type

Result. conversation_id, unit_id and outcome. With landed, the text was set, and the result carries its format, address and new value. With refused, nothing was written, and the result carries a code and a message: changed when the text no longer says from (read it again with unit_script), missing when the script has no text at that address, checks when the words are blank, too long for the text, or would leave the script or its screen with a problem it did not have, busy while a crafter holds the script, a scene builder is building that scene, or that roleplay is being rewritten, unavailable when the conversation is not open or the script could not be read or written, stale or names_other for a line of a screen, and the unit refusals of unit_send, such as course_run, author_driving or person_driving (author tool errors). A call repeated with the same idempotency_key and the same edit returns its first result. Annotations: readOnlyHint: false, destructiveHint: false, idempotentHint: true, openWorldHint: false.

unit_stop

Stop the run of one unit's crafter that unit_send started for this user. A run the author or the user started keeps going, what the crafter already saved stays saved, and stopping when no such run is going changes nothing.

Prop

Type

Result. conversation_id, unit_id, and stopped. Annotations: readOnlyHint: false, destructiveHint: false, idempotentHint: true, openWorldHint: false.

Sending feedback

submit_feedback

Send the Vidext team a bug, a point where these tools got in the way, or an idea. It opens a support ticket like one from Get help in the app, with the user's name, email and workspace and the client's name, and the team may email the user about it. The server's instructions ask the client to send one per problem and to tell the user its submission_id.

Prop

Type

Result. submission_id, the ticket's id. Each call opens a new ticket; see feedback errors. Annotations: readOnlyHint: false, destructiveHint: false, idempotentHint: false, openWorldHint: false.

On this page