validate_asn1_schema
Validates ASN.1 schema definitions syntax and semantics. Use this tool whenever a user asks to validate, check, or verify an ASN.1 schema without generating source code. The tool returns a list of messages (informational, warnings, and errors).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "validate_asn1_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileName | No | The name of the schema file being validated. This should end in '.asn' (e.g., 'Rocket.asn'). If not provided, defaults to 'schema.asn'. It is used for errors to reference a specific location in the schema. | schema.asn |
| schemaContent | No | Plain-text ASN.1 schema definition. This must be valid ASN.1 syntax, typically starting with the 'DEFINITIONS' keyword and concluding with 'END'. |