add_image
Inserts PNG or JPEG image bytes into a drawing at specified coordinates with optimistic version checks; no URL fetching or S3 credentials needed, and conflicts are not retried.
Instructions
Add PNG/JPEG bytes with optimistic version checking. No URL fetch or S3 credentials. Conflicts are not retried.
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": {
"drawingId": "<drawingId>",
"mimeType": "<mimeType>",
"base64": "<base64>",
"x": "<x>",
"y": "<y>",
"width": "<width>",
"height": "<height>"
},
"name": "add_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| width | Yes | ||
| base64 | Yes | ||
| height | Yes | ||
| mimeType | Yes | ||
| drawingId | Yes |