---
title: "Toggle Prompt Favorite"
description: "Mark or unmark a chat message as a favorite for easy retrieval later."
---

> 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 Prompt Favorite

Use the Speak AI MCP server tool `toggle_prompt_favorite` to mark or unmark a chat
message as a favorite for easy retrieval later.

## What does it do?

Mark or unmark a chat message as a favorite for easy retrieval later.

## Parameters

`toggle_prompt_favorite` takes 3 parameters, all of them required.

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `promptId` | string | Yes | ID of the conversation |
| `messageId` | string | Yes | ID of the specific message to favorite/unfavorite |
| `isFavorite` | boolean | Yes | true to mark as favorite, false to remove |

## Behaviour

The Speak AI MCP server publishes these behaviour hints for
`toggle_prompt_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

- [Ask AI Chat](/mcp/tools/magic-prompt/) lists the rest of the Ask AI Chat
  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/magic-prompt/toggle_prompt_favorite/index.mdx
