Upload a file to transcribe
upload_fileShow an upload box in the chat so the person can drop an audio or video file from their computer to transcribe it (up to 5 GB). On a connection that uses API credits the file is billed to the API balance. Use this when they want to transcribe a file they have locally rather than a link, and no file is attached to their message (for example "I want to transcribe a file on my laptop"). In Claude, when they ask to upload or transcribe a file and none is attached (for example "Upload a file to transcribe"), call this at once: do not ask them to attach the file to the chat first, because a file attached in Claude does not reach Scriptivox by itself. Also use it when they attached a file in an app that cannot pass attachments to Scriptivox (Claude): first, if you can run code and the attachment is in your sandbox, try upload_link and run its command there; if that is not possible or the upload is blocked, call this and ask them to drop that same file in the box. The box only appears when you call this tool, so call it rather than describing it. Nothing is uploaded until they pick a file. The result says how long a file the person's plan transcribes; tell them if theirs is longer. When the person said the language or that more than one person speaks (for example "a Hindi interview with 3 people": language "hi" and diarize: true), pass language and diarize so the box starts with them; they can still change them in the box.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "upload_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| diarize | No | Label who said what. Default false. | |
| language | No | ISO 639-1 language code (e.g. "en", "es", "fr"). 119 languages supported. Strongly recommended when you know the language. | |
| folder_id | No | Put the transcript in this folder (from list_folders). Optional. |