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.
| Property | Value |
|---|---|
| Read only | yes |
| Destructive | no |
| Idempotent | yes |
| Reaches outside the workspace | no |
Input#
| Argument | Type | Required | Notes |
|---|---|---|---|
project_id | string | yes | pattern ^prj_[0-9a-hjkmnp-tv-z]{10}$ |
timeline_id | string | no | pattern ^prj_[0-9a-hjkmnp-tv-z]{10}$ |
mode | frame, sheet, motion, audio | no | default "frame" |
item_id | string | no | pattern ^itm_[0-9a-hjkmnp-tv-z]{10}$ |
at | string | no | 12.5s or 375f; required for frame. |
times | array of string | no | at least 2 items; at most 16 items |
from | string | no | |
until | string | no | |
count | integer | no | min 2; max 16; default 9 |
max_tokens | integer | no | min 100; max 1568 |
Output#
A result has a text block, written for the model, and structured content with these members.
| Member | Type | Always present | Notes |
|---|---|---|---|
revision | integer | yes | |
width | integer | no | |
height | integer | no | |
image_tokens | integer | no | |
cells | array of object | no | |
path | string | no |
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_getandlintfirst, and lowermax_tokenswhen 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
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "view",
"arguments": {
"project_id": "prj_7k2m9x4q1b",
"mode": "frame",
"at": "5s"
}
}
}The 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.