studio_open_page
Open a page for editing and get the session_id every other studio tool needs. The page has four files: index.html, style.css, app.js and manifest.json. One session per page at a time, the studio's own assistant included. A session ends after 30 minutes without a call, and keeps nothing. End it with studio_save, or with studio_close to drop the changes. On a navigation or section_list page, index.html holds the whole HTML document, and the answer adds instructions: that page's rules, which replace a section's. Read them before changing anything. When the app does not use Custom code on that page (another navigation mode, another list template), opening it is refused with the reason, and nothing is opened; so is opening it while the user publishes it from the studio: try again in a moment.
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": {
"page_id": "<page_id>"
},
"name": "studio_open_page"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | The page_id studio_get (what editable_pages) returned: a section's id, navigation for the app's navigation, list-<section id> for a multilevel section's list. |