Edit custom plant attribute
hortusfox_edit_plant_attributeEdit a plant's existing custom attribute by its label, providing a new value and data type.
Instructions
Edit an existing custom attribute of a plant, identified by its label. Endpoint: /api/plants/attributes/edit.
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": {
"plant": "<plant>",
"label": "<label>",
"datatype": "<datatype>",
"content": "<content>"
},
"name": "hortusfox_edit_plant_attribute"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | The existing attribute label to edit. | |
| plant | Yes | The plant ID. | |
| content | Yes | New attribute value/content. | |
| datatype | Yes | Attribute data type. |