cavalry_get_attributes
Retrieve the value of a specific attribute or array of attributes from a layer in Cavalry using its ID and attribute path.
Instructions
Retrieves the value of a specific attribute or array of attributes 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>",
"attributePath": "<attributePath>"
},
"name": "cavalry_get_attributes"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| layerId | Yes | The unique layer ID. | |
| attributePath | Yes | The attribute path to query (e.g., 'position', 'position.x', 'radius', 'textString'). |