# compositions_get_draft

Canonical HTML page: https://bitterclip.com/docs/assistants/tools/compositions_get_draft

Surface: app-only

Product release: 185ad8f4adfa21ae055b5bd6f97968d9044480d1
Public contract commit: d2ab41fab4088c07c0f6b924fa4f3c63481b936a
Public contract SHA-256: 2365c73c2aef7b9f85e8434d8e29ea29f40824bc3a46a72a356155ea328757fc
Descriptor SHA-256: ef560141873b318181e4a3e6c2c93c1bbe9d49fc3c3fd417cce2e079ef1c4bee
Captured: 2026-10-29T03:35:56.855Z
Source: https://app.bitterclip.com/api/v1/mcp_descriptors.json

Restores the saved working draft when the editor opens (so prior trims/cuts come back after a reload), by recording_id for the per-recording draft or by 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.

The JSON blocks below are the exact MCP descriptor projections served by Rails for the named profiles at capture time. Security schemes and resource URIs may vary by connected host.

## App descriptor

```json
{
  "name": "compositions_get_draft",
  "title": "Load the saved composition edit document",
  "description": "Restores the saved working draft when the editor opens (so prior trims/cuts come back after a reload), by recording_id for the per-recording draft or by 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": {
    "title": "Load the saved composition edit document",
    "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

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

## Examples

```json
[]
```
