---
title: "Character Chat"
method: POST
path: "/api/mcp/character_chat"
tags: ["mcp"]
---

# Character Chat

`POST /api/mcp/character_chat`

## 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/character_chat`
- Auth: none declared

Discuss the cast with the user. No changes are committed — call
this repeatedly across turns to explore who the characters are,
what needs changing, etc. Pass the running `messages` back each turn.

Returns {editorial_summary}. When the user is satisfied, call
refine_characters(apply=true) to commit a refined cast in one shot.

Valid while status == 'reviewing'. Free to call.

## Request body

- CharacterChatInput
  - `job_id` string, required: The story job ID.
  - `message` string, required
  - `messages` PlanMessage[]
    - `role` string, required
    - `content` string
    - `plan` object, nullable
    - `cover` object, nullable
    - `writer_thinking` string, nullable
    - `writer_thinking_data` object, nullable
    - `metadata` object, nullable
    - `type` string, nullable
    - `applied_at` string, nullable
    - `applied_revision` integer, nullable
    - `applied_status` string, nullable
  - `model` string, nullable
  - `request_id` string, nullable: Idempotency key — see ChapterChatInput.request_id.

## 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)
