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.
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": {
"farmId": "<farmId>",
"minutes": "<minutes>",
"category": "<category>"
},
"name": "log_time"
}
}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 |