MCP / Tools / Story Workflows / take_wizard_run

take_wizard_run

orchestrationbetaauth: project:writeapproval: suggeststatus: v1

Quote, then explicitly start 2-5 distinct premise TAKES from raw story material before any beats exist - Faithful, More Dramatic, Wildcard, Intimate, High Concept. The user edits/picks one; then run `story_development_run` (beat_wizard) with template_id `original_plus_take`, passing ORIGINAL_TEXT (untouched original) and SELECTED_TAKE. The verb is DIVERGE: run on fresh projects before committing to one story direction. Start requires the accepted billing_quote_id and a billing_request_id UUID; reuse both IDs and the original inputs on retry.

When to use

  • The caller has a raw idea and the project has no beats yet.

When not to use

  • Do not use after beats exist, or to build beats/scenes/prose.

Examples

  • “Give me five takes on this premise before we outline it.”

Anti-examples

  • Generating the beat structure itself - that is `story_development_run` with `beat_wizard`.

Backend capabilities

take_wizard.run

Linked resources

Tool calls may return resource_links pointing at these resource families.

Input schema

take_wizard_run input
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "required": [
    "phase",
    "project_id",
    "idea_text"
  ],
  "properties": {
    "project_id": {
      "type": "integer"
    },
    "idea_text": {
      "type": "string",
      "minLength": 1,
      "maxLength": 200000
    },
    "count": {
      "type": "integer",
      "minimum": 2,
      "maximum": 5
    },
    "phase": {
      "enum": [
        "quote",
        "start"
      ]
    },
    "billing_quote_id": {
      "type": "string",
      "format": "uuid"
    },
    "billing_request_id": {
      "type": "string",
      "format": "uuid"
    }
  },
  "additionalProperties": false,
  "allOf": [
    {
      "if": {
        "properties": {
          "phase": {
            "const": "start"
          }
        }
      },
      "then": {
        "required": [
          "billing_quote_id",
          "billing_request_id"
        ]
      },
      "else": {
        "not": {
          "anyOf": [
            {
              "required": [
                "billing_quote_id"
              ]
            },
            {
              "required": [
                "billing_request_id"
              ]
            }
          ]
        }
      }
    }
  ]
}

Output schema

take_wizard_run output
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "success": {
      "type": "boolean"
    },
    "takes": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "label",
          "take"
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "take": {
            "type": "string"
          }
        },
        "additionalProperties": true
      }
    },
    "original_text_length": {
      "type": "integer"
    },
    "credits_used": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 0
    },
    "recommended_next_step": {
      "type": "string"
    },
    "resource_links": {
      "type": "array"
    },
    "next_actions": {
      "type": "array"
    },
    "credits_charged": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 0
    },
    "phase": {
      "type": "string",
      "enum": [
        "quote",
        "start"
      ]
    },
    "quote": {
      "type": "object",
      "required": [
        "quote_id",
        "mode",
        "allowance",
        "expires_at"
      ],
      "properties": {
        "quote_id": {
          "type": "string",
          "format": "uuid"
        },
        "mode": {
          "enum": [
            "fixed",
            "usage"
          ]
        },
        "allowance": {
          "type": "integer",
          "minimum": 0
        },
        "expires_at": {
          "type": "string"
        }
      },
      "additionalProperties": true
    },
    "billing_status": {
      "const": "pending"
    },
    "billing_operation_id": {
      "type": "string",
      "format": "uuid"
    }
  },
  "additionalProperties": true,
  "required": [
    "phase"
  ]
}
← All toolsv1 · simple_action