Resize for Variation
resize_for_variationGenerate size variations by duplicating a source artboard and scaling its objects proportionally to fit specified target sizes.
Instructions
Create size variations from a source artboard. Duplicates all objects and scales/repositions them proportionally to fit target sizes. Limitations: no text reflow, effects/strokes scale with objects but may need manual adjustment, proportional placement only (not smart layout).
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_artboard_index": "<source_artboard_index>",
"target_sizes": "<target_sizes>"
},
"name": "resize_for_variation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scale_mode | No | How to scale objects: proportional (fit within, maintain aspect), fit_width, or fit_height | proportional |
| target_sizes | Yes | Target sizes for variations | |
| coordinate_system | No | Coordinate system. Auto-detected from document by default (CMYK/print → document, RGB/web → artboard-web). artboard-web: origin at active artboard top-left, Y-down. document: Illustrator native coords, origin at bottom-left, Y-up. Call get_document_info to check which system is active. | |
| source_artboard_index | Yes | Source artboard index to duplicate from (0-based) |