Currently, the system.opc.readValue function allows reading the Value attribute of a node (Answer from support team: "is hard coded to request the value attribute ;a=13"), but there is no straightforward way to read other OPC UA attributes (such as BrowseName, DisplayName, etc.) directly via scripting.
It would be extremely useful to have a function that allows specifying the AttributeId to read, similar to how OPC UA defines attributes. For example:
browseName = system.opc.readAttribute(serverName, nodeId, attributeId=3)
Where attributeId=3 would correspond to the BrowseName attribute.
This would provide much more flexibility when working with OPC UA nodes, avoiding the need for custom modules or external libraries to access standard attributes beyond the Value.
Thank you for considering this request.