get_device_last_data
Retrieve current real-time readings for a Growatt device, including PV power, load, grid import/export, battery SOC, temperatures, and fault status.
Instructions
Get the latest real-time reading: PV power, load, grid import/export, battery SOC, temperatures, faults.
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_sn": "<device_sn>",
"device_type": "<device_type>"
},
"name": "get_device_last_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| device_sn | Yes | Device serial number. | |
| device_type | Yes | Device type such as "min", "sph", "spa", "max", "inv", "wit", "tlx". get_devices returns it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |