Add picture
add_pictureAdd a picture or a drawing (handwriting) to the end of a note, the same as inserting one in the app. Pass the image as base64 in data (PNG, JPEG, GIF or WebP, up to 10 MB) or an https address in url. kind "drawing" is for handwriting or a sketch on a transparent PNG: it shows like one drawn in the app's pen, adapts to the theme and can be edited with the pen; a photo or scan of handwriting on paper is a "picture". Without a note, a picture is stored and its Markdown comes back, to place with capture or update_note's append_text. To make a new note with a picture, capture it first, then add the picture. Every image is re-encoded on the way in, so only its pixels are kept. An account can store a few hundred pictures a day.
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": "add_picture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ink | No | Drawings only: dark (default) for strokes drawn to be seen on a light page, light for strokes meant for a dark one. | |
| url | No | Or an https address to fetch the image from. | |
| data | No | The image, base64 encoded (a data: URL is fine). | |
| kind | No | picture (default) or drawing. | |
| note | No | The note to add it to. Its id (from any other tool's output) or its exact title. | |
| caption | No | Optional caption shown under it, up to 300 characters. |