log_time
Log labor time for farm work or tasks. The entry is always recorded for the user behind the API key. Supports confirm and idempotency validation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Optional log date (YYYY-MM-DD, defaults to today in farm time zone) | |
| note | No | Optional notes (max 1000 chars) | |
| farmId | Yes | The unique farm ID | |
| taskId | No | Optional associated task ID | |
| confirm | No | Set to true to commit, false for dry-run preview | |
| minutes | Yes | Labor time spent in minutes (integer from 1 to 1440) | |
| category | Yes | Work category (e.g. Feeding, Cleaning, Maintenance, Processing) | |
| idempotencyKey | No | Unique request idempotency key |