Reverse-engineer NodeSet2 XML
opcua_model_reverseReverse-engineer a NodeSet2.xml file back into the YAML DSL format. Requires an API key (set OPCUA_MODELER_API_KEY env var). Optionally specify the target namespace URI to extract.
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": {
"xml": "<xml>"
},
"name": "opcua_model_reverse"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| xml | Yes | The NodeSet2.xml content to reverse-engineer | |
| namespace_uri | No | Target namespace URI to extract (auto-detected if omitted) | |
| self_contained | No | Return one self-contained .opcua.yaml stream: the model, its NodeId symbol table and dependency declarations (default: bare YAML) |