update_bsp_file
Overwrite an existing file in a deployed BSP/UI5 app with complete new content. Read the file first, edit the text, then send the full result back; production profiles are blocked.
Instructions
Overwrite the WHOLE content of an EXISTING file inside a deployed BSP/UI5 repository app. Unlike source objects there is no lock/unlock step and no activation - the write takes effect immediately. Read the file first with get_bsp_file, edit that text, and send the complete result back. 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": {
"bspName": "<bspName>",
"filePath": "<filePath>",
"content": "<content>"
},
"name": "update_bsp_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bspName | Yes | BSP application name, e.g. ZMMUIGRACCEPT | |
| content | Yes | Complete new file content - REPLACES the whole file | |
| filePath | Yes | Relative file path inside the app, e.g. webapp/controller/Main.controller.js | |
| transport | No | Transport request. Omit only for local/$TMP objects. |