---
title: "Retry AI Chat"
description: "Retry a failed or incomplete AI Chat response."
---

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

# Retry AI Chat

Use the Speak AI MCP server tool `retry_ai_chat` to retry a failed or incomplete AI
Chat response.

## What does it do?

Retry a failed or incomplete AI Chat response. Use when a previous `ask_ai_chat`
call returned an error or incomplete answer.

## Parameters

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

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `promptId` | string | Yes | ID of the conversation containing the failed message |
| `messageId` | string | Yes | ID of the specific message to retry |

## Behaviour

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

- Can change data in your workspace.
- Does not delete or overwrite existing data.
- Repeating an identical call can have an extra effect.
- 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/retry_ai_chat/index.mdx
