Get latest readings
get_latestRetrieve the current reading for each source on a SolarNetwork node, including weather and irradiance, to determine if a stream is live. Remember that zero generation at night is normal.
Instructions
Get the most recent reading for each source on a node, including weather and irradiance where available. Use this for 'what is happening right now' and to check whether a stream is still live. Note that generation is legitimately zero at night.
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": {
"nodeId": "<nodeId>"
},
"name": "get_latest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeId | Yes | SolarNetwork node ID | |
| sourceIds | No | Restrict to these source IDs; omit for all sources |