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.
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 |