Draw or edit an image
open_paintOpen a Paint-style editor. Omit imageUrl for a blank white canvas, or provide a public HTTPS image URL or an existing base64 image data URI (PNG/JPEG/WebP), up to 5 MiB. Do not manually reconstruct or generate base64; users can open local files using File > Open when no URI is available. Width and height are requested maximum blank dimensions; the initial bitmap is reduced to fit the editor if needed. Always call the app-provided get_canvas tool after opening and before drawing to obtain actual dimensions and valid coordinates. Use resize_canvas for exact dimensions. Imported images up to 4096 × 4096 are proportionally resized down to fit the editor at normal zoom, capped at 1024 × 768; smaller images are not enlarged. Saved images use the resized dimensions. The File menu offers Download, Copy to clipboard, and Send to chat. Download uses host-managed downloads when available. Copy to clipboard requires clipboard access. Send to chat uses image messages or image context updates when supported. Temporary image sharing is enabled: text-capable clients receive a 24-hour reference retrievable with get_saved_image; Download can alternatively open a temporary HTTPS download URL directly through the host openLinks capability. This tool opens the editor; it does not return a finished drawing immediately. Conversation attachments must be supplied explicitly; the app cannot access them automatically.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "open_paint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Drawing | |
| width | No | ||
| height | No | ||
| imageUrl | No | A public HTTPS image URL, or an existing base64 image data URI (PNG/JPEG/WebP, up to 5 MiB). HTTPS URLs are limited to 16,000 characters. Omit for a blank canvas. Do not manually reconstruct or generate base64 from an image; use File > Open for local files when no URI is available. |