Set device custom attribute
set_device_custom_attributeSets a custom attribute value on a Miradore device and clears it with an empty string; use list_custom_attributes to find the attribute ID.
Instructions
Set a custom attribute value on a device. Find attribute IDs with list_custom_attributes.
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": {
"device_id": "<device_id>",
"attribute_id": "<attribute_id>",
"value": "<value>"
},
"name": "set_device_custom_attribute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | New value (empty string to clear). | |
| device_id | Yes | Miradore device ID (from list_devices). | |
| attribute_id | Yes |