Upload Local File
upload_local_fileUpload a local audio or video file to Speak AI for automated transcription and analysis. Obtains a pre-signed upload URL, transfers the file, and creates a media entry for further processing.
Instructions
Upload a local file to Speak AI for transcription and analysis. Reads the file from disk, gets a pre-signed S3 URL, uploads the file, then creates the media entry. Works with any audio or video file on the local filesystem. After upload, use get_media_status to poll for completion, then get_transcript and get_media_insights.
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": {
"filePath": "<filePath>"
},
"name": "upload_local_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Display name (defaults to filename) | |
| tags | No | Comma-separated tags | |
| filePath | Yes | Absolute path to the local audio or video file | |
| folderId | No | Folder ID to place the media in | |
| mediaType | No | Media type (auto-detected from extension if omitted) | |
| sourceLanguage | No | BCP-47 language code (e.g., 'en-US') |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Response payload from the Speak AI API |