add_image
Add an image layer from a file path or imported asset, then fit, scale, and position it—centered by default or placed above another layer.
Instructions
Image layer from a file (path) or an imported asset. fit: contain, cover, width, height, none (ignored if scale given). Without x/y it is centered. above= to insert right above it.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "add_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| fit | No | contain | |
| name | No | ||
| path | No | ||
| above | No | ||
| asset | No | ||
| scale | No | ||
| project | No |