Add an image
add_imageStores an image for slides and returns its asset id; use it as "src" on image and image-text slides and image blocks. Send the image as base64 in data, or a public https link in url (fetched by the server). PNG, JPEG, GIF, WebP or SVG, up to 5 MB.
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_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Or a public https link to fetch it from. | |
| data | No | The image as base64 (a data: URL is fine too). PNG, JPEG, GIF, WebP or SVG, up to 5 MB. | |
| name | No | A file name, for your own reference. | |
| deck_id | No | The deck it is for, if there is one yet. |