photoshop_fill_layer
Fills the active layer with a specified RGB color, optionally targeting a specific document to avoid UI tab retargeting.
Instructions
Fill the active layer with a color
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": {
"red": "<red>",
"green": "<green>",
"blue": "<blue>"
},
"name": "photoshop_fill_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| red | Yes | Red component (0-255) | |
| blue | Yes | Blue component (0-255) | |
| green | Yes | Green component (0-255) | |
| document_id | No | Optional Photoshop document id from photoshop_get_state / photoshop_list_documents. When set, the tool activates that document before running so a UI tab switch cannot retarget the edit. |