read_opcua_nodes
Read current values from one or more OPC UA nodes in a single request, returning each node's value, data type, status code, and timestamps to assess quality and age.
Instructions
Read the current value of one or more OPC UA nodes in a single request. Pass every node you need in one call: the OPC UA server answers them together, so reading fifty nodes costs one round trip rather than fifty. Each node comes back as its own record with the value, its data type, the OPC UA status code, and the source and server timestamps — the quality and the age are what decide whether a value can be acted on, and a bare number carries neither. A node the server rejects is one 'Bad…' status among the results, not a failure of the call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_ids | Yes | The OPC UA node IDs to read, in the format 'ns=<namespace>;i=<identifier>'. Example: ['ns=2;i=2', 'ns=2;i=3']. A single node is a one-element list. At most 500 per call. | |
| include_write_access | No | Also report, per node, whether it can be written and what a write must look like (write_access): its type, whether it is an array, its enumeration states and labels, and the bounds a value must stay within. Set it before writing a node you have not written before. Costs one extra read of the nodes' attributes the first time a node is asked about in a session. Default false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |