set_colors
Set GIMP foreground and background colors from CSS names, hex, or rgb() values; omit either color to leave it unchanged.
Instructions
Set the GIMP foreground and/or background color.
Parameters:
foreground: New foreground color (CSS name, hex, rgb()); omit to leave unchanged
background: New background color; omit to leave unchanged
Returns: {foreground, background} confirmation dict.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "set_colors"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| background | No | ||
| foreground | No |