Import image
import_imagePlace an image from a file path, URL, or data URL onto a new or existing layer to use as a tracing reference or texture.
Instructions
Place an image (file path, http(s) URL or data URL) onto a new layer (or an existing one) — e.g. a reference to trace or a texture.
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": {
"source": "<source>"
},
"name": "import_image"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | No | ||
| y | No | ||
| fit | No | Default contain when no size given | |
| name | No | Name for the new layer | |
| layer | No | Existing layer to draw into (default: create a new layer) | |
| width | No | ||
| height | No | ||
| source | Yes | Path, URL or data URL | |
| opacity | No |