---
title: "Toggle Media Favorite"
description: "Mark or unmark media files as favorites for quick access."
---

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

# Toggle Media Favorite

Use the Speak AI MCP server tool `toggle_media_favorite` to mark or unmark media
files as favorites for quick access.

## What does it do?

Mark or unmark media files as favorites for quick access.

## Parameters

`toggle_media_favorite` takes 2 parameters, all of them required.

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `mediaIds` | array of string | Yes | Media file IDs to update |
| `isFavorite` | boolean | Yes | true to mark as favorite, false to unmark |

## Behaviour

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

- Can change data in your workspace.
- Does not delete or overwrite existing data.
- Repeating an identical call is safe.
- Stays inside Speak AI. Does not reach other systems.

## 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/toggle_media_favorite/index.mdx
