---
title: "Generate Outline"
method: POST
path: "/api/mcp/generate_outline"
tags: ["mcp"]
---

# Generate Outline

`POST /api/mcp/generate_outline`

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

Generate the first and only outline from the approved world and cast.

## Request body

- JobInput
  - `job_id` string, required: The story job ID.

## Response `200`

Successful Response

- StoryMutationResponse
  - `job_id` string, nullable
  - `status` string, nullable
  - `story_url` string, nullable
  - `chapter` integer, nullable
  - `kind` string, 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)
