Log a garden event
log_eventRecord something the user did or observed: watered, fertilized, transplanted, pruned, pest sighting, treatment, frost damage, or a note. Attach it to a plant's active planting via plant, to a bed via bed, or garden-wide with neither. If both plant and bed are given, the event attaches to the plant's planting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bed | No | Bed name — for bed-level events. | |
| note | No | ||
| type | Yes | ||
| plant | No | Plant name — targets its most recent active planting. | |
| amount | No | For fertilized/treated. | |
| garden | No | Garden name; defaults to the user's first garden. | |
| product | No | For fertilized/treated. | |
| pestName | No | For type=pest. | |
| severity | No | For type=pest. | |
| occurredAt | No | ISO datetime; default now. | |
| plantingId | No | Exact planting id (from query_plantings) — overrides plant. |