files_transcribe
Understand an AUDIO or VIDEO file (voice note, recording, clip): returns the spoken text as a transcript and, for video, a few evenly spaced key frames as images, so you can describe what the video shows and says. Max duration 30 minutes (longer files are refused). The transcript is cached, a second call is free. If partial is true the transcript covers only the beginning of the file. For images use files.get_base64, for text and documents files.read.
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": {
"file_id": "<file_id>"
},
"name": "files_transcribe"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | ID of an audio or video file (from attachment_file_ids or files.search). | |
| max_chars | No | Maximum transcript characters to return (default 50000). | |
| max_frames | No | Key frames to return for a video (0-4, default 4). 0 = transcript only. | |
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. |