read_holding_registers
Reads 16-bit holding register values from Modbus devices via function code 0x03, returning address-value pairs.
Instructions
Read holding registers (FC 0x03) from the monitored Modbus device.
Holding registers are 16-bit read/write values (Forgeline reads them only). Returns the start address, count, unit id, and a list of address -> value pairs. Read-only.
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": {
"address": "<address>"
},
"name": "read_holding_registers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| address | Yes | Zero-based start address (0..65535). | |
| count | No | Number of registers to read (1..125). |