ps_set_layer_opacity
Sets the active layer's opacity to a value from 0 to 100, controlling its transparency in Photoshop.
Instructions
设置当前活动图层的不透明度(0-100)。
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": {
"opacity": "<opacity>"
},
"name": "ps_set_layer_opacity"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| opacity | Yes | 不透明度 0-100 |