Draw Shape
ps_draw_shapeDraw vector shapes on a new shape layer in Photoshop. Supports rectangle, ellipse, polygon, star, line, and custom path with configurable fill and stroke.
Instructions
Draws a vector shape on a new shape layer. Supports rectangle, rounded-rectangle, ellipse, line, polygon, star, and custom-path. Supply the type and its specific params.
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": {
"type": "<type>",
"params": "<params>"
},
"name": "ps_draw_shape"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Shape type to draw | |
| params | Yes | Shape-specific parameters |