Add plant
hortusfox_add_plantAdd a new plant to your HortusFox collection by specifying its name and location ID. Returns the unique plant ID.
Instructions
Create a new plant with a name and a location ID. Returns the new plant ID. Endpoint: /api/plants/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": {
"name": "<name>",
"location": "<location>"
},
"name": "hortusfox_add_plant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name of the plant. | |
| location | Yes | ID of the location the plant belongs to (see hortusfox_list_locations). |