Replace an app's HTML
update_app_htmlReplace the HTML of a web app you own (up to 10 MB packed). It does not submit; call submit_app afterwards. For several files or an icon use publish_app with the slug instead.
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": {
"slug": "<slug>",
"html": "<html>"
},
"name": "update_app_html"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| html | Yes | Replacement HTML for index.html. | |
| slug | Yes | Slug of a web app you own. | |
| api_key | No | Optional slop_ API key. Use this when the client cannot send Authorization: Bearer. |