set_image_fill
Apply an image fill to a Figma node from a URL, with configurable scale modes for fitting, cropping, or tiling. Use this to populate node backgrounds with external images.
Instructions
Set an image fill on a node from URL.
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": {
"nodeId": "<nodeId>",
"url": "<url>"
},
"name": "set_image_fill"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Image URL | |
| nodeId | Yes | Target node ID | |
| scaleMode | No | Scale mode (default: FILL) |