add_image
Add a PNG, JPEG, GIF, WebP, or SVG image to an Inkboard board from a file or base64 data, with optional width, height, and position settings.
Instructions
Adds an image (PNG, JPEG, GIF, WebP or SVG, 15 MiB at most) from a file (source, under the allowed root) or from base64 data (data_base64). The natural size is reduced to at most 600; w and/or h override it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| h | No | ||
| w | No | ||
| x | No | X of the top-left corner. Defaults to below the existing content. | |
| y | No | Y of the top-left corner. | |
| page | No | Page: number (from 1) or name. Defaults to the first. | |
| path | No | Path of the board file (.inkboard; .inkboard.json and .tableau.json also accepted). Optional when the application is open: the tool then acts live on the displayed board (undoable with Ctrl+Z). | |
| source | No | Path of the image file. | |
| data_base64 | No |