opcua_model_create
Generate an OPC UA YAML model from a natural language description using AI. Automatically detects companion specs and validates the model.
Instructions
Generate an OPC UA YAML model from a natural language description using AI. Requires an API key (set OPCUA_MODELER_API_KEY env var). The AI will auto-detect relevant companion specs, generate a validated model with documentation, and auto-correct validation errors.
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": {
"prompt": "<prompt>"
},
"name": "opcua_model_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | Yes | Natural language description of the OPC UA model to generate | |
| forceSpecs | No | Companion spec aliases to force (e.g. ["di", "ia"]) |