get_oscal_schema
Retrieve the JSON or XML schema (XSD) for a specific OSCAL model to understand its properties, types, and required fields.
Instructions
Return the JSON schema or XML Schema (XSD) of one OSCAL model as text.
Use when you need the structure of an OSCAL model: its properties, types, and required fields.
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": {
"model_name": "<model_name>"
},
"name": "get_oscal_schema"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model_name | Yes | OSCAL model name from list_oscal_models, or "complete" for all models (very large). | |
| schema_type | No | "json" returns the JSON schema as JSON text; "xsd" returns the XML Schema. | json |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |