engine_image_add
Upload an image to the store's image tree by specifying the target path. Provide a local file path or SVG content, and set overwrite to true to replace an existing file.
Instructions
Upload a file of the images tree: path is the full target, folder and name at once. The body comes as file - a path on this machine - or as content, text for svg. An existing target is overwritten only with overwrite=true - files here have no version history.
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": {
"path": "<path>"
},
"name": "engine_image_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | No | ||
| path | Yes | ||
| content | No | ||
| overwrite | No |