Update plant attribute
hortusfox_update_plantUpdate a specific attribute of a plant, such as its name, location, or humidity, by providing the plant ID, attribute key, and new value.
Instructions
Update a single attribute of a plant by name (e.g. name, location, description, humidity, etc.). Endpoint: /api/plants/update.
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>",
"attribute": "<attribute>",
"value": "<value>"
},
"name": "hortusfox_update_plant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plant | Yes | The plant ID to update. | |
| value | Yes | The new value for the attribute. | |
| attribute | Yes | The attribute/field key to change. |