batch_replace_color
Replace every instance of a hex color in a Figma design with another color, optionally limiting changes to a specific node.
Instructions
Replace a color across all nodes.
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": {
"find": "<find>",
"replace": "<replace>"
},
"name": "batch_replace_color"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| find | Yes | Color to find (hex) | |
| nodeId | No | Scope node | |
| replace | Yes | Replacement color (hex) |