set_shape
Modify a shape layer's dimensions, kind, or points, and set its fill or stroke; use 'none' to remove them.
Instructions
Change a shape layer (fill/stroke 'none' removes them).
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": {
"layer": "<layer>"
},
"name": "set_shape"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| h | No | ||
| w | No | ||
| fill | No | ||
| kind | No | ||
| layer | Yes | ||
| points | No | ||
| radius | No | ||
| stroke | No | ||
| project | No | ||
| stroke_width | No |