get_device_logs
Fetch a device's recent log entries—watering starts/stops, errors, battery and connectivity events—newest first for diagnostics and activity monitoring.
Instructions
Get the device's recent log entries (watering starts/stops, errors, battery and connectivity events), newest first.
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": {
"device_id": "<device_id>"
},
"name": "get_device_logs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| device_id | Yes |