get_entity_metadata
Fetch OData service metadata: entity sets, keys, properties, and navigation properties. Use to discover fields and correct entity names for queries.
Instructions
Fetches and summarizes OData service metadata from SAP S/4HANA. Returns all entity sets with their key fields, properties, and navigation properties. Use this before calling execute_odata_query to understand the available fields and correct entity names.
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": {
"service": "<service>"
},
"name": "get_entity_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service | Yes | OData service name, e.g. API_BUSINESS_PARTNER |