Set canvas aspect ratio
set_canvas_aspect_ratio[write] Set the PROJECT / EXPORT canvas aspect ratio — the frame the preview, every rendered asset and the composite export all use. Use whenever the deliverable's shape (16:9, 9:16 or 1:1) differs from the canvas, before making or rendering graphics, which render at the canvas size. It does not re-fit existing clips (use set_clip_transform). Answers with aspectRatio and the exact width and height to design against. Related: get_timeline, set_clip_transform, render_all_assets. Full docs: load_skill with tools: [name].
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"project_id": "<project_id>",
"aspectRatio": "<aspectRatio>"
},
"name": "set_canvas_aspect_ratio"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | The AskEditor project this acts on (from list_projects). | |
| aspectRatio | Yes | The canvas shape. |