Read the app
myapp_get_appRead an app: data, not a picture (to show the app to the user, call myapp_get_preview rather than drawing a mockup). Without app: the list of the apps this connection covers, with their id and name; call it first when the app is not known. With app: its pages (name, type, folder, menu presence, visibility, header shared or own, layouts), menu, home blocks, screens, trial status and recent changes in plain sentences. A page's in_menu means it is placed in the menu zone of the page tree, not that a menu item opens it: menu_items lists the ids of the menu items that open the page, and on a shop_collection page, shows is the id of the page it displays. With a target: what can change there, as addresses (part, intent, role, item, detail) with a label, the current value and the allowed values, and the parts that follow a setting shared with the whole app. intent keeps one intent. include adds templates, history, status, or icons, fonts, gradients and time zones found by query; with a target, history gives the recent changes that name it (all of them for the app) and status the trial status. The app can also change outside this conversation (back office, other people, other assistants): read it again before acting on what was read earlier.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "myapp_get_app"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | Id of the app, as listed by myapp_get_app without app. | |
| 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. | |
| query | No | Words to find icons, fonts, gradients or time zones by name. | |
| intent | No | ||
| target | No | Where the change applies, with names read with myapp_get_app. | |
| include | No |