Add to the app
myapp_addAdd a page, a block of the home, an item of the menu, an action of a header, a link of a home block, a category of a page, a step of the walkthrough or a collection of the shop, or copy a page or a home block. A new page starts empty. One call makes one step; undoing it removes what was added. 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": {
"add": "<add>"
},
"name": "myapp_add"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| add | Yes | ||
| 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. |