Image Upload Set
image_upload_setUpload a local PNG, JPEG, GIF, SVG, or WebP image (under 25 MB) into an existing Data Studio image component using a checked fingerprint, journaled write, and read-back verification.
Instructions
Upload a local image file (png/jpeg/gif/svg/webp, < 25 MB) into an image component (create one with components_create type image-component). Uses the panel's own upload; one journalled page write, read back, restorable. page_get fingerprint.
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": {
"page_id": "<page_id>",
"component_id": "<component_id>",
"path": "<path>",
"expected_fingerprint": "<expected_fingerprint>"
},
"name": "image_upload_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| dry_run | No | ||
| page_id | Yes | ||
| report_id | No | ||
| component_id | Yes | ||
| expected_fingerprint | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||