Validate a model
validateCheck SysML v2 text (or KerML, with language "kerml") against the MBEstudio profile: syntax, name resolution, typing, units, and evaluation errors. Call it after every change. Output: { valid, errors, roots, diagnostics: [{ severity, code, message, line, column, hint }] }.
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": {
"text": "<text>"
},
"name": "validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The complete SysML v2 model text. The server keeps no state: pass the whole current text on every call, and after an edit use the text the edit returned. | |
| language | No | The notation of the text: "sysml" (default) or "kerml" for a KerML document (.kerml). |