Add custom plant attribute
hortusfox_add_plant_attributeAdd custom attributes like text, number, date, or boolean to a plant by specifying plant ID, label, data type, and value.
Instructions
Add a custom attribute to a plant. Endpoint: /api/plants/attributes/add.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | Yes | Attribute label/name. | |
| plant | Yes | The plant ID. | |
| content | Yes | Attribute value/content. | |
| datatype | Yes | Attribute data type (e.g. text, number, date, boolean) as defined in HortusFox. |