ai_placeFile
Place an image, PDF, PSD, or SVG file into an Illustrator document at a specified position, with optional width scaling, embedding, and Image Trace to vectorize.
Instructions
Illustrator: place an image/PDF/PSD/SVG file at position [x,y] with optional width (keeps ratio); embed:true embeds it; trace:true runs Image Trace (preset e.g. "High Fidelity Photo", "Black and White Logo", "6 Colors") and expands to vectors.
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": "ai_placeFile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| path | Yes | ||
| embed | No | ||
| layer | No | ||
| trace | No | ||
| width | No | ||
| document | No | Document name; omit for the active document. | |
| position | No | ||
| tracePreset | No |