cavalry_list_attributes
List all attributes of a given layer with type, display name, children, and animated flag. Prevents silent write failures from incorrect attribute paths.
Instructions
List every attribute on a layer with its type, nice name, children and animated flag. Use this INSTEAD of guessing attribute paths — attribute names are not derivable from the UI labels in Cavalry's docs, and a wrong path fails silently on write.
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>"
},
"name": "cavalry_list_attributes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layerId | Yes | Layer ID (e.g. 'textShape#1') | |
| includeValues | No | Also read each attribute's current value (slower) |