patch_object
Update Layer properties such as text, typography, transforms, effects, masks, visibility, stroke, geometry, or particle settings using a patch object; read describe_layer first to avoid overwriting nested values.
Instructions
Patch any Layer fields: text, typography, transforms, effects, masks, repeater, visibility, stroke, geometry or particle configuration. Nested objects replace their existing value; read describe_layer first.
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": {
"layerId": "<layerId>",
"patch": "<patch>"
},
"name": "patch_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| patch | Yes | ||
| layerId | Yes | ||
| requestId | No | ||
| sessionId | No | ||
| expectedRevision | No |