ps_fill_layer
Fill the active Photoshop layer with a solid RGB color over the full canvas. Input red, green, and blue values between 0 and 255.
Instructions
用指定颜色填充当前活动图层(全画布填充)。r/g/b 为 RGB 值。
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": {
"r": "<r>",
"g": "<g>",
"b": "<b>"
},
"name": "ps_fill_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| b | Yes | 蓝 0-255 | |
| g | Yes | 绿 0-255 | |
| r | Yes | 红 0-255 |