All MCP tools

compositions_get_draft

Load the saved composition edit document

Restore the saved working draft when opening the editor (so prior trims/cuts come back after a reload). Pass recording_id for the per-recording draft, or composition_id. Returns { draft: nil } when none exists. This is a REPAIRING read, not a pure one: when the caller has edit authority and the Episode's resting suggestion was authored under a superseded Project objective, this read may admit ONE bounded, deduplicated, paid recommendation refresh for exactly this Episode (a durable admission receipt on the synthesis manifest plus one background job). That is its only side effect — it never edits a Program, creates a Clip, starts a Render, publishes, or creates a public link, and read-only callers admit nothing.

Surface: App-only

Product release 1dce717408a55fac1047e7d779177fa3ef8ede51
Public contract commit 1ce47f7857ae3d9b6933fe83d5c33de3ae5efc64
Public contract SHA-256 241d47d25e4b4c1dae9d2263793874d06fc4ba7bc3c78d4cf2bc63fbb32ed7dc
Captured 2026-09-24T16:39:30.100Z. Review or improve this contract on GitHub.

These blocks show the complete MCP descriptors captured from serving Rails. Security schemes and resource URIs can differ by connected host.

App descriptor

{
  "name": "compositions_get_draft",
  "title": "Load the saved composition edit document",
  "description": "Restore the saved working draft when opening the editor (so prior trims/cuts come back after a reload). Pass recording_id for the per-recording draft, or composition_id. Returns { draft: nil } when none exists. This is a REPAIRING read, not a pure one: when the caller has edit authority and the Episode's resting suggestion was authored under a superseded Project objective, this read may admit ONE bounded, deduplicated, paid recommendation refresh for exactly this Episode (a durable admission receipt on the synthesis manifest plus one background job). That is its only side effect — it never edits a Program, creates a Clip, starts a Render, publishes, or creates a public link, and read-only callers admit nothing.",
  "inputSchema": {
    "type": "object",
    "properties": {
      "recording_id": {
        "type": "string"
      },
      "composition_id": {
        "type": "string"
      }
    },
    "required": [],
    "additionalProperties": false
  },
  "annotations": {
    "readOnlyHint": false,
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false
  },
  "securitySchemes": [
    {
      "type": "noauth"
    }
  ],
  "_meta": {
    "securitySchemes": [
      {
        "type": "noauth"
      }
    ],
    "ui": {
      "visibility": [
        "app"
      ]
    },
    "openai/widgetAccessible": true,
    "openai/visibility": "private"
  },
  "outputSchema": {
    "type": "object",
    "properties": {
      "draft": {
        "type": [
          "boolean",
          "null"
        ]
      },
      "composition_id": {
        "type": "string"
      },
      "revision": {
        "type": "string",
        "description": "Opaque draft CAS token."
      },
      "structural_revision": {
        "type": "integer",
        "description": "Monotonic Episode structure revision."
      },
      "workspace_navigation": {
        "type": "object",
        "additionalProperties": false,
        "required": [
          "schema",
          "target",
          "route"
        ],
        "properties": {
          "schema": {
            "type": "string",
            "enum": [
              "bitterclip.workspace-nav.v1"
            ]
          },
          "target": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "kind",
              "id"
            ],
            "properties": {
              "kind": {
                "type": "string",
                "enum": [
                  "episode",
                  "clip"
                ]
              },
              "id": {
                "type": "string",
                "pattern": "^comp_[A-Za-z0-9_-]{1,120}$"
              }
            }
          },
          "route": {
            "type": "object",
            "additionalProperties": false,
            "required": [
              "name",
              "mode"
            ],
            "properties": {
              "name": {
                "type": "string",
                "enum": [
                  "composition"
                ]
              },
              "mode": {
                "type": "string",
                "enum": [
                  "review"
                ]
              }
            }
          }
        }
      },
      "title": {
        "type": "string"
      },
      "description": {
        "type": [
          "string",
          "null"
        ]
      },
      "episode_date": {
        "type": [
          "string",
          "null"
        ],
        "description": "Current authoritative Episode date, when set."
      },
      "episode_date_basis": {
        "type": [
          "string",
          "null"
        ],
        "description": "How the current Episode date was established."
      },
      "episode_date_label": {
        "type": [
          "string",
          "null"
        ],
        "description": "Compact human-readable current Episode date."
      },
      "aspect_ratio": {
        "type": "string"
      },
      "captions_enabled": {
        "type": "boolean"
      },
      "status": {
        "type": "string"
      },
      "segments": {
        "type": "array"
      },
      "overlays": {
        "type": "array"
      },
      "editor_document": {
        "type": "object",
        "description": "Versioned application document consumed by the shared editor."
      }
    },
    "required": [],
    "additionalProperties": true
  }
}

Errors

[
  "recording_not_found",
  "composition_not_found",
  "episode_changed_during_read",
  "invalid_input"
]

Examples

[]