---
title: "Rehearse Dialogue"
method: POST
path: "/api/mcp/rehearse_dialogue"
tags: ["mcp"]
---

# Rehearse Dialogue

`POST /api/mcp/rehearse_dialogue`

## Request

- Base URL: `https://writer.swapp1990.org` (the document declares no server; this is the origin it was published from)
- URL: `https://writer.swapp1990.org/api/mcp/rehearse_dialogue`
- Auth: none declared

Regenerate the dialogue-rehearsal packet for a planned chapter.

## Request body

- DialogueRehearsalInput: Input for regenerating only the dialogue-rehearsal packet of a writer-thinking preview, without re-running the other stages.
  - `job_id` string, required: The story job ID.
  - `chapter` integer, required
  - `plan` object, required: Structured revision plan (short_plan, long_plan, beats) whose dialogue beats to rehearse.
  - `chapter_strategy` string: Chapter strategy paragraph from the writer-thinking preview, if available.
  - `model` string, nullable: Model override.
  - `revision` integer, nullable: Base revision (operation scoping only).

## Response `200`

Successful Response

- GenericToolResponse: Fallback for tools whose payload is still being tightened.
  - `story_url` string, nullable
  - `article_url` string, nullable
  - `job_id` string, nullable
  - `status` string, nullable
  - `is_terminal` boolean, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/swapp1990/apis/writeforyou-mcp-api.md) · [All operations](https://skmtc.dev/swapp1990/apis/writeforyou-mcp-api/llms.txt) · [OpenAPI document](https://skmtc.dev/swapp1990/apis/writeforyou-mcp-api/revisions/ce5e2a89ab4d?raw)
