Remove from the app
myapp_removeRemove a page, a block of the home or an item of the menu. When the removal cannot be undone, nothing is removed yet: the answer lists what would go, and the user confirms it in the preview card or on a confirmation page. The app can also change outside this conversation: before acting on what was read earlier, read it again with myapp_get_app; after a conflict or an unexpected result, read it again before trying again. With draft, some changes come once the app is kept in the user's account (images and other files, content, sources, extensions, user groups, changes that cannot be undone): the refusal says which, and myapp_create with the draft keeps the app.
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": {
"target": "<target>"
},
"name": "myapp_remove"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | ||
| draft | No | Secret of a draft, returned once by myapp_create without an account: the app as it takes shape, before it is kept in the user's account. Pass it back as draft, instead of app, to read, preview and change it, until myapp_create with this draft keeps the app in the account. It is not an id: do not show it to the user. | |
| target | Yes | Where the change applies, with names read with myapp_get_app. | |
| with_children | No | Also remove the pages of a folder. |