---
title: "Upload Local File"
description: "Upload a local file to Speak AI for transcription and analysis."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.speakai.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Upload Local File

Use the Speak AI MCP server tool `upload_local_file` to upload a local file to Speak
AI for transcription and analysis.

## What does it do?

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`.

## Parameters

`upload_local_file` takes 6 parameters, 1 of them required.

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `filePath` | string | Yes | Absolute path to the local audio or video file |
| `name` | string | No | Display name (defaults to filename) |
| `mediaType` | enum | No | Media type (auto-detected from extension if omitted) |
| `sourceLanguage` | string | No | BCP-47 language code (e.g., 'en-US') |
| `folderId` | string | No | Folder ID to place the media in |
| `tags` | string | No | Comma-separated tags |

## Behaviour

The Speak AI MCP server publishes these behaviour hints for `upload_local_file`.

- Can change data in your workspace.
- Does not delete or overwrite existing data.
- Repeating an identical call can have an extra effect.
- Can reach systems outside Speak AI.

## Related

- [Media library](/mcp/tools/media/) lists the rest of the Media library category.
- [Tool reference](/mcp/tools/) lists every Speak AI MCP server tool.
- [MCP server](/mcp/) covers setup, supported clients, and what agents can do once
  connected.

Source: https://docs.speakai.co/mcp/tools/media/upload_local_file/index.mdx
