update_app
Change an app made with create_app by giving its new spec. The change is a new version of the same app: the data and settings the person entered stay, and the open screen shows the new look right away. A spec with problems comes back with each problem's path and a fix, and the running version is not touched. Fails with not_installed (no such spec app) or invalid_spec. Logged in device_log with the old and new version.
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": {
"session": "<session>",
"id": "<id>",
"spec": "<spec>"
},
"name": "update_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | App id from create_app | |
| name | No | New name under the icon | |
| spec | Yes | The whole new spec (shipvo.app/v0) | |
| session | Yes | Session from open_app |