cavalry_set_attribute
Set one or more attributes on a layer in a single call using a map of attribute paths to values.
Instructions
Set one or more attributes on a layer in a single call.
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>",
"attributes": "<attributes>"
},
"name": "cavalry_set_attribute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layerId | Yes | Layer ID | |
| attributes | Yes | Map of attribute paths to values (e.g. {"fontSize": 120, "position.x": 100}) |