CheckDdl
Run a syntax check on a CDS view or hypothetical DDL source and return syntax errors, warnings, and messages for active or inactive versions.
Instructions
[read-only] Runs a syntax check on the CDS view named by ddl_name. Can check existing view (active/inactive) or validate hypothetical DDL source. Returns syntax errors, warnings, and messages. Recordable: in batch mode a call is recorded under the next number and answers with empty content; its answer is read by number after the batch ends.
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": {
"ddl_name": "<ddl_name>"
},
"name": "CheckDdl"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| version | No | Version to check: 'active' or 'inactive'. Without `version` the active version is checked. | |
| ddl_name | Yes | CDS view name to check, passed as ddl_name. | |
| ddl_source | No | Optional: DDL source code to validate instead of the saved version. |