cavalry_get_attribute
Retrieve a specific attribute value from a layer in Cavalry scenes, using a layer ID and attribute path.
Instructions
Read an attribute value from a layer.
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>",
"attrPath": "<attrPath>"
},
"name": "cavalry_get_attribute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layerId | Yes | Layer ID (e.g. 'textShape#1') | |
| attrPath | Yes | Attribute path (e.g. 'position.x', 'fontSize') |