mcp

Save Chat

Persist a chat thread to a chapter+revision slot.

Replaces any prior thread at that slot — pass the FULL message history each time, not a delta. chapter_chat(auto_save=true) does this automatically; this endpoint is for callers that build the thread themselves.

post/api/mcp/save_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/save_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.