read_sensor
Retrieve current sensor readings from GoodWe inverters by sensor ID. Use list_sensors to discover available IDs like 'pv1_voltage'.
Instructions
Read the current value of a single sensor by its ID.
Args: sensor_id: Sensor identifier, e.g. "pv1_voltage", "battery_soc", "grid_power". Use list_sensors to discover available IDs.
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": {
"sensor_id": "<sensor_id>"
},
"name": "read_sensor"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sensor_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |