capture_canvas
Capture fresh screenshots to verify routes after code changes. Specify route IDs to capture only what changed, avoiding costly full renders.
Instructions
Capture fresh screenshots of routes on the Design Canvas. Triggers a new render (not cached), waits for pages to fully load, and returns screenshots as images. Screenshots use WebKit rendering — use for quick layout verification, not pixel-perfect cross-browser QA.
USAGE: Use after making code changes to visually verify how routes look. This is an expensive operation (several seconds) — do not call speculatively.
CONSTRAINTS:
Returns 3 images by default. Pass limit for more, or ids for specific routes.
If the canvas has many routes, pass specific route IDs to capture only what changed — this saves context space and is significantly faster
Route IDs are returned by list_routes and add_route
For precise cross-browser verification, use Playwright instead
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | No | Route IDs to capture. If omitted, captures all routes. | |
| limit | No | Maximum number of screenshot images to return. Default: 3. |