element_add_stock
Insert a free copyright-free stock image or cutout onto a canvas using a search query, direct image URL, or asset key. Set custom layer name and target width.
Instructions
Adds a free copyright-free stock image or cutout to the canvas directly by search query, image URL, or asset key.
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": {
"url": "<url>"
},
"name": "element_add_stock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Direct image URL or search keyword | |
| name | No | Custom layer name | |
| scaleToWidth | No | Target width in pixels |