Get details of a CDS definition (CAP)
get_cap_detailsGet full metadata for any CAP CDS definition: elements with types and annotations, associations, actions, functions, projections, and includes.
Instructions
Returns full details of one CDS definition: elements with types and annotations, associations (target, cardinality, on-condition), actions/functions, projections and includes.
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": {
"definitionName": "<definitionName>"
},
"name": "get_cap_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | No | CAP project root | |
| definitionName | Yes | Definition name (short or fully qualified), e.g. 'Books' or 'my.bookshop.Books' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| line | No | ||
| name | Yes | ||
| source | No | ||
| actions | No | ||
| elements | No | ||
| includes | No | ||
| namespace | No | ||
| shortName | Yes | ||
| annotations | No | ||
| projectionOn | No | ||
| exposedByServices | Yes |