canvas
Control a visual workspace by presenting, hiding, navigating, evaluating scripts, capturing snapshots, and resetting state.
Instructions
Control the Canvas visual workspace. Actions: present, hide, navigate, eval, snapshot, a2ui_push, a2ui_reset
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | URL for present/navigate actions | |
| html | No | HTML content for a2ui_push | |
| node | No | Target node ID | |
| action | Yes | Canvas action (present, hide, navigate, eval, snapshot, a2ui_push, a2ui_reset) | |
| format | No | Snapshot format (png, jpeg) | |
| script | No | JavaScript to evaluate | |
| target | No | Target for present action (URL or HTML) | |
| sessionKey | No | OpenClaw session key for routing |