Get Studio page context
get_page_contextOne page's node tree, with each node's id, type, name and text. Styles are off by default and cost tokens — ask for a single breakpoint when you need them. Use the returned ids with batch_edit_design.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | Page id, or its route like "/pricing" | |
| depth | No | How deep to walk the tree. Default 4; deeper costs tokens. | |
| siteId | Yes | ||
| breakpoint | No | With includeStyles, return only this breakpoint's values. | |
| includeStyles | No | Include each node's styles. Default false — ask for one breakpoint instead when you can. |