Variable webScreenshotSchemaConst
webScreenshotSchema: ZodObject<
{
artifact: ZodObject<
{
bytes: ZodNumber;
data_base64: ZodString;
media_type: ZodLiteral<"image/png">;
sha256: ZodString;
uri: ZodString;
},
$strip,
>;
browser: ZodObject<
{
js_version: ZodString;
product: ZodString;
protocol_version: ZodString;
revision: ZodString;
user_agent: ZodString;
},
$strip,
>;
captured_at: ZodISODateTime;
completeness: ZodObject<
{
attach_limited_sections: ZodArray<
ZodEnum<
{
accessibility: "accessibility";
console_events: "console_events";
console_text: "console_text";
dom: "dom";
frames: "frames";
json_body_shapes: "json_body_shapes";
metadata: "metadata";
network_initiators: "network_initiators";
network_requests: "network_requests";
resources: "resources";
screenshot: "screenshot";
script_sources: "script_sources";
scripts: "scripts";
source_maps: "source_maps";
storage: "storage";
storage_keys: "storage_keys";
timeline: "timeline";
webmcp_tools: "webmcp_tools";
websocket_connections: "websocket_connections";
websocket_frames: "websocket_frames";
websocket_shapes: "websocket_shapes";
workers: "workers";
},
>,
>;
conditions: ZodArray<
ZodEnum<
{
attach_limited: "attach_limited";
complete_within_window: "complete_within_window";
policy_filtered: "policy_filtered";
truncated: "truncated";
},
>,
>;
dropped_events: ZodObject<
{
console_events: ZodNumber;
network_requests: ZodNumber;
scripts: ZodNumber;
timeline_events: ZodNumber;
total: ZodNumber;
webmcp_tools: ZodNumber;
websocket_connections: ZodNumber;
websocket_frames: ZodNumber;
},
$strip,
>;
excluded: ZodArray<
ZodObject<
{
count: ZodNullable<ZodNumber>;
reason: ZodEnum<
{
disallowed_origin: "disallowed_origin";
invalid_protocol_value: "invalid_protocol_value";
not_approved: "not_approved";
out_of_target_scope: "out_of_target_scope";
provider_unavailable: "provider_unavailable";
unattributed_origin: "unattributed_origin";
unsupported_url: "unsupported_url";
},
>;
section: ZodEnum<
{
accessibility: "accessibility";
console_events: "console_events";
console_text: "console_text";
dom: "dom";
frames: "frames";
json_body_shapes: "json_body_shapes";
metadata: "metadata";
network_initiators: "network_initiators";
network_requests: "network_requests";
resources: "resources";
screenshot: "screenshot";
script_sources: "script_sources";
scripts: "scripts";
source_maps: "source_maps";
storage: "storage";
storage_keys: "storage_keys";
timeline: "timeline";
webmcp_tools: "webmcp_tools";
websocket_connections: "websocket_connections";
websocket_frames: "websocket_frames";
websocket_shapes: "websocket_shapes";
workers: "workers";
},
>;
},
$strip,
>,
>;
policy_filtered_sections: ZodArray<
ZodEnum<
{
accessibility: "accessibility";
console_events: "console_events";
console_text: "console_text";
dom: "dom";
frames: "frames";
json_body_shapes: "json_body_shapes";
metadata: "metadata";
network_initiators: "network_initiators";
network_requests: "network_requests";
resources: "resources";
screenshot: "screenshot";
script_sources: "script_sources";
scripts: "scripts";
source_maps: "source_maps";
storage: "storage";
storage_keys: "storage_keys";
timeline: "timeline";
webmcp_tools: "webmcp_tools";
websocket_connections: "websocket_connections";
websocket_frames: "websocket_frames";
websocket_shapes: "websocket_shapes";
workers: "workers";
},
>,
>;
status: ZodEnum<
{
attach_limited: "attach_limited";
complete_within_window: "complete_within_window";
policy_filtered: "policy_filtered";
truncated: "truncated";
},
>;
truncated_sections: ZodArray<
ZodEnum<
{
accessibility: "accessibility";
console_events: "console_events";
console_text: "console_text";
dom: "dom";
frames: "frames";
json_body_shapes: "json_body_shapes";
metadata: "metadata";
network_initiators: "network_initiators";
network_requests: "network_requests";
resources: "resources";
screenshot: "screenshot";
script_sources: "script_sources";
scripts: "scripts";
source_maps: "source_maps";
storage: "storage";
storage_keys: "storage_keys";
timeline: "timeline";
webmcp_tools: "webmcp_tools";
websocket_connections: "websocket_connections";
websocket_frames: "websocket_frames";
websocket_shapes: "websocket_shapes";
workers: "workers";
},
>,
>;
unavailable_sections: ZodArray<
ZodEnum<
{
accessibility: "accessibility";
console_events: "console_events";
console_text: "console_text";
dom: "dom";
frames: "frames";
json_body_shapes: "json_body_shapes";
metadata: "metadata";
network_initiators: "network_initiators";
network_requests: "network_requests";
resources: "resources";
screenshot: "screenshot";
script_sources: "script_sources";
scripts: "scripts";
source_maps: "source_maps";
storage: "storage";
storage_keys: "storage_keys";
timeline: "timeline";
webmcp_tools: "webmcp_tools";
websocket_connections: "websocket_connections";
websocket_frames: "websocket_frames";
websocket_shapes: "websocket_shapes";
workers: "workers";
},
>,
>;
},
$strip,
>;
limitations: ZodArray<ZodString>;
schema_version: ZodLiteral<1>;
target: ZodObject<
{ origin: ZodString; target_id: ZodString; url: ZodString },
$strip,
>;
viewport: ZodObject<{ height: ZodNumber; width: ZodNumber }, $strip>;
},
$strip,
> = ...
Bounded screenshot observation with embedded immutable artifact bytes.