patch_srvd
Modify part of an existing SAP service definition by replacing one exact string, then lock, update, unlock, and optionally activate it; production profiles are blocked.
Instructions
Modify PART of an existing service definition (SRVD) without resending the whole source - e.g. exposing one more entity. Reads the current source, replaces oldString with newString (must match EXACTLY ONCE), then locks, PUTs, unlocks, and optionally activates. Refuses to run on production profiles.
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": {
"srvdName": "<srvdName>",
"oldString": "<oldString>",
"newString": "<newString>"
},
"name": "patch_srvd"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| activate | No | Activate after writing. Default false. | |
| srvdName | Yes | Service definition name, e.g. ZTJ_UI_PLANT_EMAIL | |
| newString | Yes | Replacement text | |
| oldString | Yes | Exact existing text to replace. Must occur exactly once - include enough context to be unique. | |
| transport | No | Transport request. Omit only for local/$TMP objects. |