Transcribe media
media_transcribeTranscribes a video or audio file from a URL and stores the transcript as a markdown file in the knowledge base, as an ordinary document — put it where its subject belongs, not in a transcripts folder. Only the transcript is kept; the media itself is not stored. Returns immediately with the file path and a PENDING state; transcription runs in the background, so poll media_transcribe_status with the same path until it reports DONE. The origin URL is recorded on the file so the transcript always points back at its source. Once it is DONE, read the transcript and, if your title or description turned out to be a poor fit for what the media actually contains, correct them with upsert_file — they are what search ranks on.
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": {
"url": "<url>",
"path": "<path>",
"context": "<context>"
},
"name": "media_transcribe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Public http(s) URL of the video or audio to transcribe. YouTube, a public file URL, or an S3 URL. | |
| path | Yes | Full destination path for the transcript, including the filename, ending in '.md' — e.g. '/meetings/2026-09-01-all-hands.md' or '/research/interviews/acme-discovery-call.md'. Choose a path and filename that describe the subject, and file it alongside related material; there is no transcripts folder. Must start with '/'. | |
| title | No | Human-readable title, shown in listings and weighted heavily in search. Omit only if you genuinely cannot tell what the media is about — it then falls back to the source's own title (e.g. the YouTube video title). | |
| context | Yes | Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): "Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization." | |
| language | No | Language hint for the speech model, e.g. 'en'. Omit to let the provider detect it. | |
| description | No | One-line summary of what the media covers. Weighted in search, so it is worth writing. Omit if you have not heard the media and cannot say anything true about it — you can set it afterwards once the transcript is readable. | |
| workspace_id | No | Which workspace to act in - a workspace id (whoami returns the id of your default workspace). Omit to use your default workspace. |