CheckDdl
Validate CDS view (DDLS) syntax from the active or inactive saved version, or check supplied DDL source code to catch errors before activation.
Instructions
[read-only] Checks the syntax of a CDS view (DDLS) as stored or as the source given.
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. |