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.
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_add_plant_attribute"
}
}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. |