Test deploy (cds deploy to throwaway sqlite)
cap_deploy_checkDeploys CAP model to a throwaway SQLite database and loads CSV data to catch column mismatches, malformed data, and duplicate keys that compile-time checks miss.
Instructions
Third CAP validation layer: deploys the model to a throwaway sqlite database and loads the db/data CSVs. Catches what cds compile cannot: CSV columns that do not exist on the entity, malformed data and duplicate keys. Requires @cap-js/sqlite installed in the project. The throwaway database is deleted afterwards.
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": {
"projectPath": "<projectPath>"
},
"name": "cap_deploy_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | Yes | CAP project root path with @cap-js/sqlite available |