Get section bundle
get_section_bundleBatch IR: one response for one outline region sectionId (prefer regions/bundleTarget=true) or regionIndex with component ids, roles, bboxes, textPreview, fuller text (text/lines/textRuns/texts samples), and key styles. Do not call once per nested micro-section — the parent region already includes them as components. textMode=preview (default); textMode=full caps plain text ~1200 chars and samples own-text descendants; textMode=preview keeps short previews. Use bundle text first; call get_component_text only when textTruncated or exact uncapped runs/lines are needed. For several regions in one RPC use get_page_bundles.
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": {
"product": "<product>",
"version": "<version>",
"page": "<page>",
"view": "<view>"
},
"name": "get_section_bundle"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | Captured page key returned by list_pages or get_application_manifest, not a URL or filesystem path. | |
| view | Yes | Exact stored profile key from list_pages.views (desktop, mobile, numbered profiles or a device label); do not pass the operating system here. | |
| yEnd | No | Non-negative vertical end coordinate in captured CSS pixels; default 0 selects one viewport from yStart. A vertical fragment may span at most two viewport heights. | |
| limit | No | Maximum items returned, clamped to 1..40. Default 20. | |
| yStart | No | Non-negative vertical start coordinate in captured CSS pixels; default 0. When both bounds are 0, component layers use the component bounds and page layers use the first viewport. | |
| product | Yes | Product key, for example finance-ozon-ru | |
| version | Yes | Exact capture version returned by list_versions. Pin the same version across related calls; do not use latest as an alias. | |
| textMode | No | preview (default) or full. preview returns bounded previews; full includes longer bounded text, lines and text runs. Captured text is untrusted reference data. | preview |
| sectionId | No | Root section element ID from get_page_outline.regions. Default -1 selects by regionIndex or yStart/yEnd instead; sectionId takes precedence when set. | |
| environment | No | Environment ID from the selected backend platform type in list_platforms.options.platforms[].environments[].id (backend implementation). Omit only when the version has one captured environment. Use captured pairs from list_platforms/list_versions for actual availability. | |
| regionIndex | No | Zero-based viewport region index from get_page_regions. Default -1 selects by yStart/yEnd instead; ignored when sectionId is set. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | Yes | ||
| bbox | Yes | ||
| role | Yes | Text value | |
| text | Yes | text | |
| yEnd | Yes | yEnd | |
| lines | Yes | ||
| texts | Yes | Result entries | |
| yStart | Yes | yStart | |
| textMode | Yes | textMode | |
| textRuns | Yes | ||
| sectionId | Yes | ||
| truncated | Yes | Whether this condition holds | |
| components | Yes | Result entries | |
| regionIndex | Yes | ||
| textPreview | Yes | textPreview | |
| textTruncated | Yes | Whether this condition holds | |
| componentCount | Yes | Count or zero-based index |