Upload image
upload_imageUPLOADS base64 image bytes and returns an image_key for add_cards. Charged to the board owner's storage; max 25MB. file_name keeps the file’s own name. For pictures on the web use import_urls instead; for video and other files, the REST API’s multipart upload.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"board_id": "<board_id>",
"data": "<data>",
"content_type": "<content_type>"
},
"name": "upload_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The bytes, base64-encoded | |
| board_id | Yes | The board charged for the storage | |
| file_name | No | The file’s own name, e.g. diner_ext_dusk_04.jpg | |
| content_type | Yes | The image’s real type |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| width | No | ||
| height | No | ||
| file_name | No | ||
| image_key | No |