Skip to content

MCP tools

view

View frame, sheet or sound. See the result.

Last updated:

See the result. mode=frame: one image at time at; sheet: a grid of frames with times (count over from..until, or times); motion: what an external render of from..until must fit (size, rate, safe area, brand kit, captions, frames); audio: loudness, true peak, noise floor before/after audio processors, of item_id or from..until. Images cost tokens: read project_get, lint first.

Behaviour#

These are the annotations of the tool definition, the hints a client uses to decide whether to ask before a call. view is listed by tools/list.

PropertyValue
Read onlyyes
Destructiveno
Idempotentyes
Reaches outside the workspaceno

Input#

ArgumentTypeRequiredNotes
project_idstringyespattern ^prj_[0-9a-hjkmnp-tv-z]{10}$
timeline_idstringnopattern ^prj_[0-9a-hjkmnp-tv-z]{10}$
modeframe, sheet, motion, audionodefault "frame"
item_idstringnopattern ^itm_[0-9a-hjkmnp-tv-z]{10}$
atstringno12.5s or 375f; required for frame.
timesarray of stringnoat least 2 items; at most 16 items
fromstringno
untilstringno
countintegernomin 2; max 16; default 9
max_tokensintegernomin 100; max 1568

Output#

A result has a text block, written for the model, and structured content with these members.

MemberTypeAlways presentNotes
revisionintegeryes
widthintegerno
heightintegerno
image_tokensintegerno
cellsarray of objectno
pathstringno

Errors#

A call over HTTP without credentials fails with E_UNAUTHORIZED, and too many calls with E_RATE_LIMITED. Both are in the error codes.

Safety#

  • The only tool that returns an image, and an image costs tokens: read project_get and lint first, and lower max_tokens when a small image is enough.
  • It renders through the export path: the frame is what export produces.

Next steps#

Ask the agent

Show me the frame at 5 seconds.

The call

tools/call
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "view",
    "arguments": {
      "project_id": "prj_7k2m9x4q1b",
      "mode": "frame",
      "at": "5s"
    }
  }
}

The result

result
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "…"
      }
    ],
    "structuredContent": {
      "revision": 12,
      "width": 1080,
      "height": 1920,
      "image_tokens": 1568
    }
  }
}

The values are illustrative. The text block holds the same result written for the model; its wording is left out here.