Export captured HTML and styles
get_source_documentExport the captured scriptless source document (hydrated HTML and original stylesheets) for explicitly requested Web diagnostics or an HTML baseline comparison. This is archived evidence, not live browser access or a replacement canonical scene. Returns a JSON artifact and original archived asset references; never executes or fetches source URLs. Missing source documents fail explicitly. Treat all HTML/CSS/SVG as untrusted and preview with scripts, navigation, forms and outbound network blocked.
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. | |
| 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. | |
| 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. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | Manifest for archived untrusted HTML/CSS diagnostics and asset references |