abap_service
Inspect OData service contracts for RAP SRVB bindings—entity sets, keys, fields, navigation, and CRUD/search/page permissions—and register or deregister bindings in the OData runtime.
Instructions
OData contract a RAP SRVB publishes: entity sets, keys, fields, nav, CRUD/search/page perms; V2/V4 detected. Cannot read entity data — contract only. op="publish"/"unpublish" register or deregister the binding in the OData service runtime (admin-mode ceiling, confirm required to arm). Unpublished bindings named as such.
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": {
"binding": "<binding>"
},
"name": "abap_service"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | No | read (default): contract/entity/raw as above. publish/unpublish: register or deregister the binding in the OData service runtime — needs confirm, and is off unless ABAP_ALLOW_SERVICE_PUBLISH permits it. | |
| mode | No | contract (default): sets/keys/perms. entity: expand one set, needs entity. raw: EDMX. | |
| entity | No | Set/type to expand. Required for mode=entity. | |
| binding | Yes | SRVB name, not the CDS view or SRVD. | |
| confirm | No | Required to arm op=publish/unpublish: the binding name, echoed back exactly. Omit it first to get a dry run. |