update_srvd
Overwrite an existing SAP service definition (SRVD) by replacing its complete source, with locking, optional activation, and production-profile protection. Use for full replacements, not small edits.
Instructions
Overwrite the source of an EXISTING service definition (SRVD). Locks, PUTs the whole new source, unlocks, then optionally activates. Refuses to run on production profiles. REPLACES the whole definition - read it first, edit that text, and send the complete result back. Prefer patch_srvd for small edits.
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>",
"source": "<source>"
},
"name": "update_srvd"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Complete new SRVD source - REPLACES the entire definition | |
| activate | No | Activate after writing. Default false. | |
| srvdName | Yes | Service definition name, e.g. ZTJ_UI_PLANT_EMAIL | |
| transport | No | Transport request. Omit only for local/$TMP objects. |