mcp

Clear Chat

Delete the saved chat thread for a chapter+revision.

Irreversible. Subsequent get_chat calls return an empty list. Does not affect the chapter prose, only the conversation history.

post/api/mcp/clear_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/clear_chat
  • Auth: none declared

Request body

job_idstring required

The story job ID.

chapterinteger required
revisioninteger

Revision number. 0 = general chapter chat.

slotstring nullable

Optional non-chapter chat slot, e.g. selected paragraph thread.

Response

Successful Response

story_urlstring nullable
article_urlstring nullable
job_idstring nullable
statusstring nullable
is_terminalboolean nullable

Changes

No recorded changes to this operation across all 1 revision of this API.