Add plant gallery photo
hortusfox_add_plant_gallery_photoAdd a photo to a plant gallery. Specify the plant ID and an optional external URL to attach an image.
Instructions
Add a photo to a plant gallery. Set external=true and provide a photo URL to add an external image. Endpoint: /api/plants/gallery/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>"
},
"name": "hortusfox_add_plant_gallery_photo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Optional label/caption for the photo. | |
| photo | No | External photo URL (required when external=true). | |
| plant | Yes | The plant ID. | |
| external | No | If true, add an external photo URL (provide `photo`). Default false. |