rea-agents - v1.7.0
Preparing search index...
contracts/toolContracts
TOOL_CONTRACTS
Variable TOOL_CONTRACTS
Const
TOOL_CONTRACTS
:
readonly
[
ToolContract
<
"address_name"
>
,
ToolContract
<
"comment"
>
,
ToolContract
<
"current_address"
>
,
ToolContract
<
"current_procedure"
>
,
ToolContract
<
"current_document"
>
,
ToolContract
<
"goto_address"
>
,
ToolContract
<
"inline_comment"
>
,
ToolContract
<
"list_bookmarks"
>
,
ToolContract
<
"list_documents"
>
,
ToolContract
<
"list_names"
>
,
ToolContract
<
"list_procedures"
>
,
ToolContract
<
"list_segments"
>
,
ToolContract
<
"list_strings"
>
,
ToolContract
<
"next_address"
>
,
ToolContract
<
"prev_address"
>
,
ToolContract
<
"procedure_address"
>
,
ToolContract
<
"procedure_assembly"
>
,
ToolContract
<
"procedure_callees"
>
,
ToolContract
<
"procedure_callers"
>
,
ToolContract
<
"procedure_info"
>
,
ToolContract
<
"procedure_references"
>
,
ToolContract
<
"procedure_pseudo_code"
>
,
ToolContract
<
"resolve_containing_procedure"
>
,
ToolContract
<
"search_procedures"
>
,
ToolContract
<
"search_strings"
>
,
ToolContract
<
"set_address_name"
>
,
ToolContract
<
"set_addresses_names"
>
,
ToolContract
<
"set_bookmark"
>
,
ToolContract
<
"set_comment"
>
,
ToolContract
<
"set_current_document"
>
,
ToolContract
<
"set_inline_comment"
>
,
ToolContract
<
"unset_bookmark"
>
,
ToolContract
<
"xrefs"
>
,
ToolContract
<
"swift_classes"
>
,
ToolContract
<
"get_objc_classes"
>
,
ToolContract
<
"get_objc_protocols"
>
,
ToolContract
<
"batch_decompile"
>
,
ToolContract
<
"get_call_graph"
>
,
ToolContract
<
"analyze_swift_types"
>
,
ToolContract
<
"find_xrefs_to_name"
>
,
ToolContract
<
"binary_overview"
>
,
ToolContract
<
"analyze_function"
>
,
ToolContract
<
"trace_feature"
>
,
ToolContract
<
"inspect_macho"
>
,
ToolContract
<
"inspect_signature"
>
,
ToolContract
<
"inspect_plist"
>
,
ToolContract
<
"list_architectures"
>
,
ToolContract
<
"demangle_swift"
>
,
ToolContract
<
"inventory_artifact"
>
,
ToolContract
<
"extract_artifact"
>
,
{
annotations
:
{
destructiveHint
:
false
;
idempotentHint
:
true
;
openWorldHint
:
false
;
readOnlyHint
:
true
;
}
;
description
:
"Classify the active PE/CLI artifact and inventory exact assembly/module identity, target framework evidence, references, resources, and custom attributes without loading or executing target code. Returns bounded pages and explicit partial or malformed coverage."
;
examples
:
readonly
[
{
input
:
{}
;
title
:
"Example inspect managed artifact request"
}
,
]
;
inputSchema
:
ZodObject
<
{
attribute_limit
:
ZodDefault
<
ZodNumber
>
;
attribute_offset
:
ZodDefault
<
ZodNumber
>
;
max_file_bytes
:
ZodDefault
<
ZodNumber
>
;
max_heap_item_bytes
:
ZodDefault
<
ZodNumber
>
;
max_metadata_bytes
:
ZodDefault
<
ZodNumber
>
;
max_table_rows
:
ZodDefault
<
ZodNumber
>
;
reference_limit
:
ZodDefault
<
ZodNumber
>
;
reference_offset
:
ZodDefault
<
ZodNumber
>
;
resource_limit
:
ZodDefault
<
ZodNumber
>
;
resource_offset
:
ZodDefault
<
ZodNumber
>
;
}
,
$strip
,
>
;
kind
:
"managed-provider"
;
name
:
"inspect_managed_artifact"
;
outputSchema
:
ZodObject
<
$ZodLooseShape
,
$strip
>
;
}
,
{
annotations
:
{
destructiveHint
:
false
;
idempotentHint
:
true
;
openWorldHint
:
false
;
readOnlyHint
:
true
;
}
;
description
:
"Inspect bounded PE/CLI metadata members, signatures, method body IL hashes, exception regions, call edges, and field-access anchors without loading or executing target code. Metadata tokens are reported as build-local coordinates bound to the artifact SHA-256 and MVID."
;
examples
:
readonly
[
{
input
:
{
edge_limit
:
100
;
method_limit
:
25
}
;
title
:
"Example inspect managed members request"
;
}
,
]
;
inputSchema
:
ZodObject
<
{
edge_limit
:
ZodDefault
<
ZodNumber
>
;
edge_offset
:
ZodDefault
<
ZodNumber
>
;
field_limit
:
ZodDefault
<
ZodNumber
>
;
field_offset
:
ZodDefault
<
ZodNumber
>
;
instruction_anchor_limit
:
ZodDefault
<
ZodNumber
>
;
max_file_bytes
:
ZodDefault
<
ZodNumber
>
;
max_heap_item_bytes
:
ZodDefault
<
ZodNumber
>
;
max_metadata_bytes
:
ZodDefault
<
ZodNumber
>
;
max_method_body_bytes
:
ZodDefault
<
ZodNumber
>
;
max_method_instructions
:
ZodDefault
<
ZodNumber
>
;
max_table_rows
:
ZodDefault
<
ZodNumber
>
;
member_ref_limit
:
ZodDefault
<
ZodNumber
>
;
member_ref_offset
:
ZodDefault
<
ZodNumber
>
;
method_limit
:
ZodDefault
<
ZodNumber
>
;
method_offset
:
ZodDefault
<
ZodNumber
>
;
type_limit
:
ZodDefault
<
ZodNumber
>
;
type_offset
:
ZodDefault
<
ZodNumber
>
;
}
,
$strip
,
>
;
kind
:
"managed-provider"
;
name
:
"inspect_managed_members"
;
outputSchema
:
ZodObject
<
$ZodLooseShape
,
$strip
>
;
}
,
{
annotations
:
{
destructiveHint
:
false
;
idempotentHint
:
true
;
openWorldHint
:
false
;
readOnlyHint
:
true
;
}
;
description
:
"Inspect PE/CLI ModuleRef, ImplMap/PInvoke declarations, CLI native-header indicators, and non-IL method implementation flags without loading or executing target code. Results are managed declarations and degraded native-boundary observations, not verified native exports or addresses."
;
examples
:
readonly
[
{
input
:
{
implementation_limit
:
50
;
import_limit
:
50
}
;
title
:
"Example inspect managed/native boundary request"
;
}
,
]
;
inputSchema
:
ZodObject
<
{
implementation_limit
:
ZodDefault
<
ZodNumber
>
;
implementation_offset
:
ZodDefault
<
ZodNumber
>
;
import_limit
:
ZodDefault
<
ZodNumber
>
;
import_offset
:
ZodDefault
<
ZodNumber
>
;
max_file_bytes
:
ZodDefault
<
ZodNumber
>
;
max_heap_item_bytes
:
ZodDefault
<
ZodNumber
>
;
max_metadata_bytes
:
ZodDefault
<
ZodNumber
>
;
max_table_rows
:
ZodDefault
<
ZodNumber
>
;
module_ref_limit
:
ZodDefault
<
ZodNumber
>
;
module_ref_offset
:
ZodDefault
<
ZodNumber
>
;
}
,
$strip
,
>
;
kind
:
"managed-provider"
;
name
:
"inspect_managed_native_boundaries"
;
outputSchema
:
ZodObject
<
$ZodLooseShape
,
$strip
>
;
}
,
{
annotations
:
{
destructiveHint
:
false
;
idempotentHint
:
true
;
openWorldHint
:
false
;
readOnlyHint
:
true
;
}
;
description
:
"Compare two authenticated inspect_managed_members Evidence records using unique-only CIL/signature and structural method-shape tiers. Names are reported as observations but are not used as a matching basis; metadata tokens are remapped as build-local coordinates bound to each artifact SHA-256 and MVID."
;
examples
:
readonly
[
{
input
:
{
left
:
|
{
analysis_profile
:
{
digest
:
string
;
parameters
:
Record
<
string
,
JSONType
>
;
provider
:
{
id
:
string
;
name
:
string
;
version
:
string
}
;
provider_profile_schema_version
:
number
;
schema_version
:
1
;
}
;
authority
:
|
"shipped-artifact"
|
"controlled-replay"
|
"historical-reference"
|
"external-service"
|
"analyst-inference"
;
confidence
:
"observed"
|
"derived"
|
"inferred"
;
environment
:
|
{
architecture
:
string
;
id
:
string
;
isolation
:
"process"
|
"none"
|
"container"
|
"virtual-machine"
;
platform
:
string
;
}
|
null
;
evidence_id
:
string
;
evidence_links
:
string
[]
;
limitations
:
string
[]
;
locations
:
(
|
{
address
:
string
;
kind
:
"address"
}
|
{
end
:
string
;
kind
:
"address-range"
;
start
:
string
}
|
{
kind
:
"artifact-path"
;
path
:
string
}
|
{
kind
:
"file-offset"
;
offset
:
number
}
|
{
end
:
number
;
kind
:
"file-offset-range"
;
start
:
number
}
)
[]
;
normalized_result
:
JSONType
;
operation
:
string
;
parameters
:
Record
<
string
,
JSONType
>
;
predicate_type
:
string
;
provider
:
{
id
:
string
;
name
:
string
;
version
:
string
|
null
}
;
raw_result
:
JSONType
;
schema_version
:
2
;
subject
:
|
{
architecture
:
"x86"
|
"x86_64"
|
"arm"
|
"arm64"
|
null
;
digest
:
{
sha256
:
string
}
;
format
:
|
"unknown"
|
"file"
|
"directory"
|
"javascript"
|
"source-map"
|
"plist"
|
"entitlements"
|
"dmg"
|
"zip"
|
"pkg"
|
"asar"
|
"javascript-bundle"
|
"mach-o-universal"
|
"mach-o"
|
"elf"
|
"pe"
|
"hopper"
|
"analysis-database"
|
"ipa"
|
"apk"
;
local_path
:
string
;
name
:
string
;
}
|
null
;
}
|
{
authority
:
|
"shipped-artifact"
|
"controlled-replay"
|
"historical-reference"
|
"external-service"
|
"analyst-inference"
;
confidence
:
"observed"
|
"derived"
|
"inferred"
;
environment
:
|
{
architecture
:
string
;
id
:
string
;
isolation
:
"process"
|
"none"
|
"container"
|
"virtual-machine"
;
platform
:
string
;
}
|
null
;
evidence_id
:
string
;
evidence_links
:
string
[]
;
limitations
:
string
[]
;
locations
:
(
|
{
address
:
string
;
kind
:
"address"
}
|
{
end
:
string
;
kind
:
"address-range"
;
start
:
string
}
|
{
kind
:
"artifact-path"
;
path
:
string
}
|
{
kind
:
"file-offset"
;
offset
:
number
}
|
{
end
:
number
;
kind
:
"file-offset-range"
;
start
:
number
}
)
[]
;
normalized_result
:
JSONType
;
operation
:
string
;
parameters
:
Record
<
string
,
JSONType
>
;
predicate_type
:
string
;
provider
:
{
id
:
string
;
name
:
string
;
version
:
string
|
null
}
;
raw_result
:
JSONType
;
schema_version
:
2
;
subject
:
|
{
architecture
:
"x86"
|
"x86_64"
|
"arm"
|
"arm64"
|
null
;
digest
:
{
sha256
:
string
}
;
format
:
|
"unknown"
|
"file"
|
"directory"
|
"javascript"
|
"source-map"
|
"plist"
|
"entitlements"
|
"dmg"
|
"zip"
|
"pkg"
|
"asar"
|
"javascript-bundle"
|
"mach-o-universal"
|
"mach-o"
|
"elf"
|
"pe"
|
"hopper"
|
"analysis-database"
|
"ipa"
|
"apk"
;
local_path
:
string
;
name
:
string
;
}
|
null
;
}
;
limits
:
{
max_candidates
:
number
;
max_field_matches
:
number
;
max_method_matches
:
number
;
}
;
right
:
|
{
analysis_profile
:
{
digest
:
string
;
parameters
:
Record
<
string
,
JSONType
>
;
provider
:
{
id
:
string
;
name
:
string
;
version
:
string
}
;
provider_profile_schema_version
:
number
;
schema_version
:
1
;
}
;
authority
:
|
"shipped-artifact"
|
"controlled-replay"
|
"historical-reference"
|
"external-service"
|
"analyst-inference"
;
confidence
:
"observed"
|
"derived"
|
"inferred"
;
environment
:
|
{
architecture
:
string
;
id
:
string
;
isolation
:
"process"
|
"none"
|
"container"
|
"virtual-machine"
;
platform
:
string
;
}
|
null
;
evidence_id
:
string
;
evidence_links
:
string
[]
;
limitations
:
string
[]
;
locations
:
(
|
{
address
:
string
;
kind
:
"address"
}
|
{
end
:
string
;
kind
:
"address-range"
;
start
:
string
}
|
{
kind
:
"artifact-path"
;
path
:
string
}
|
{
kind
:
"file-offset"
;
offset
:
number
}
|
{
end
:
number
;
kind
:
"file-offset-range"
;
start
:
number
}
)
[]
;
normalized_result
:
JSONType
;
operation
:
string
;
parameters
:
Record
<
string
,
JSONType
>
;
predicate_type
:
string
;
provider
:
{
id
:
string
;
name
:
string
;
version
:
string
|
null
}
;
raw_result
:
JSONType
;
schema_version
:
2
;
subject
:
|
{
architecture
:
"x86"
|
"x86_64"
|
"arm"
|
"arm64"
|
null
;
digest
:
{
sha256
:
string
}
;
format
:
|
"unknown"
|
"file"
|
"directory"
|
"javascript"
|
"source-map"
|
"plist"
|
"entitlements"
|
"dmg"
|
"zip"
|
"pkg"
|
"asar"
|
"javascript-bundle"
|
"mach-o-universal"
|
"mach-o"
|
"elf"
|
"pe"
|
"hopper"
|
"analysis-database"
|
"ipa"
|
"apk"
;
local_path
:
string
;
name
:
string
;
}
|
null
;
}
|
{
authority
:
|
"shipped-artifact"
|
"controlled-replay"
|
"historical-reference"
|
"external-service"
|
"analyst-inference"
;
confidence
:
"observed"
|
"derived"
|
"inferred"
;
environment
:
|
{
architecture
:
string
;
id
:
string
;
isolation
:
"process"
|
"none"
|
"container"
|
"virtual-machine"
;
platform
:
string
;
}
|
null
;
evidence_id
:
string
;
evidence_links
:
string
[]
;
limitations
:
string
[]
;
locations
:
(
|
{
address
:
string
;
kind
:
"address"
}
|
{
end
:
string
;
kind
:
"address-range"
;
start
:
string
}
|
{
kind
:
"artifact-path"
;
path
:
string
}
|
{
kind
:
"file-offset"
;
offset
:
number
}
|
{
end
:
number
;
kind
:
"file-offset-range"
;
start
:
number
}
)
[]
;
normalized_result
:
JSONType
;
operation
:
string
;
parameters
:
Record
<
string
,
JSONType
>
;
predicate_type
:
string
;
provider
:
{
id
:
string
;
name
:
string
;
version
:
string
|
null
}
;
raw_result
:
JSONType
;
schema_version
:
2
;
subject
:
|
{
architecture
:
"x86"
|
"x86_64"
|
"arm"
|
"arm64"
|
null
;
digest
:
{
sha256
:
string
}
;
format
:
|
"unknown"
|
"file"
|
"directory"
|
"javascript"
|
"source-map"
|
"plist"
|
"entitlements"
|
"dmg"
|
"zip"
|
"pkg"
|
"asar"
|
"javascript-bundle"
|
"mach-o-universal"
|
"mach-o"
|
"elf"
|
"pe"
|
"hopper"
|
"analysis-database"
|
"ipa"
|
"apk"
;
local_path
:
string
;
name
:
string
;
}
|
null
;
}
;
}
;
title
:
"Compare two managed member observations"
;
}
,
]
;
inputSchema
:
ZodObject
<
{
left
:
ZodObject
<
{
analysis_profile
:
ZodOptional
<
ZodObject
<
{
digest
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
provider
:
ZodObject
<
{
id
:
...
;
name
:
...
;
version
:
...
}
,
$strip
>
;
provider_profile_schema_version
:
ZodNumber
;
schema_version
:
ZodLiteral
<
1
>
;
}
,
$strip
,
>
,
>
;
authority
:
ZodEnum
<
{
"analyst-inference"
:
"analyst-inference"
;
"controlled-replay"
:
"controlled-replay"
;
"external-service"
:
"external-service"
;
"historical-reference"
:
"historical-reference"
;
"shipped-artifact"
:
"shipped-artifact"
;
}
,
>
;
confidence
:
ZodEnum
<
{
derived
:
"derived"
;
inferred
:
"inferred"
;
observed
:
"observed"
}
,
>
;
environment
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodString
;
id
:
ZodString
;
isolation
:
ZodEnum
<
{
container
:
...
;
none
:
...
;
process
:
...
;
"virtual-machine"
:
...
;
}
,
>
;
platform
:
ZodString
;
}
,
$strip
,
>
,
>
;
evidence_id
:
ZodString
;
evidence_links
:
ZodArray
<
ZodString
>
;
limitations
:
ZodArray
<
ZodString
>
;
locations
:
ZodArray
<
ZodDiscriminatedUnion
<
[
ZodObject
<
{
address
:
...
;
kind
:
...
}
,
$strip
>
,
ZodObject
<
{
end
:
...
;
kind
:
...
;
start
:
...
}
,
$strip
>
,
ZodObject
<
{
kind
:
...
;
path
:
...
}
,
$strip
>
,
ZodObject
<
{
kind
:
...
;
offset
:
...
}
,
$strip
>
,
ZodObject
<
{
end
:
...
;
kind
:
...
;
start
:
...
}
,
$strip
>
,
]
,
"kind"
,
>
,
>
;
normalized_result
:
ZodJSONSchema
;
operation
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
predicate_type
:
ZodString
;
provider
:
ZodObject
<
{
id
:
ZodString
;
name
:
ZodString
;
version
:
ZodNullable
<
ZodString
>
;
}
,
$strip
,
>
;
raw_result
:
ZodNullable
<
ZodJSONSchema
>
;
schema_version
:
ZodLiteral
<
2
>
;
subject
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodNullable
<
ZodEnum
<
(...)
>
>
;
digest
:
ZodObject
<
{
sha256
:
...
}
,
$strip
>
;
format
:
ZodEnum
<
{
"analysis-database"
:
...
;
apk
:
...
;
asar
:
...
;
directory
:
...
;
dmg
:
...
;
elf
:
...
;
entitlements
:
...
;
file
:
...
;
hopper
:
...
;
ipa
:
...
;
javascript
:
...
;
"javascript-bundle"
:
...
;
"mach-o"
:
...
;
"mach-o-universal"
:
...
;
pe
:
...
;
pkg
:
...
;
plist
:
...
;
"source-map"
:
...
;
unknown
:
...
;
zip
:
...
;
}
,
>
;
local_path
:
ZodString
;
name
:
ZodString
;
}
,
$strip
,
>
,
>
;
}
,
$strict
,
>
;
limits
:
ZodDefault
<
ZodObject
<
{
max_candidates
:
ZodDefault
<
ZodNumber
>
;
max_field_matches
:
ZodDefault
<
ZodNumber
>
;
max_method_matches
:
ZodDefault
<
ZodNumber
>
;
}
,
$strict
,
>
,
>
;
right
:
ZodObject
<
{
analysis_profile
:
ZodOptional
<
ZodObject
<
{
digest
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
provider
:
ZodObject
<
{
id
:
...
;
name
:
...
;
version
:
...
}
,
$strip
>
;
provider_profile_schema_version
:
ZodNumber
;
schema_version
:
ZodLiteral
<
1
>
;
}
,
$strip
,
>
,
>
;
authority
:
ZodEnum
<
{
"analyst-inference"
:
"analyst-inference"
;
"controlled-replay"
:
"controlled-replay"
;
"external-service"
:
"external-service"
;
"historical-reference"
:
"historical-reference"
;
"shipped-artifact"
:
"shipped-artifact"
;
}
,
>
;
confidence
:
ZodEnum
<
{
derived
:
"derived"
;
inferred
:
"inferred"
;
observed
:
"observed"
}
,
>
;
environment
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodString
;
id
:
ZodString
;
isolation
:
ZodEnum
<
{
container
:
...
;
none
:
...
;
process
:
...
;
"virtual-machine"
:
...
;
}
,
>
;
platform
:
ZodString
;
}
,
$strip
,
>
,
>
;
evidence_id
:
ZodString
;
evidence_links
:
ZodArray
<
ZodString
>
;
limitations
:
ZodArray
<
ZodString
>
;
locations
:
ZodArray
<
ZodDiscriminatedUnion
<
[
ZodObject
<
{
address
:
...
;
kind
:
...
}
,
$strip
>
,
ZodObject
<
{
end
:
...
;
kind
:
...
;
start
:
...
}
,
$strip
>
,
ZodObject
<
{
kind
:
...
;
path
:
...
}
,
$strip
>
,
ZodObject
<
{
kind
:
...
;
offset
:
...
}
,
$strip
>
,
ZodObject
<
{
end
:
...
;
kind
:
...
;
start
:
...
}
,
$strip
>
,
]
,
"kind"
,
>
,
>
;
normalized_result
:
ZodJSONSchema
;
operation
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
predicate_type
:
ZodString
;
provider
:
ZodObject
<
{
id
:
ZodString
;
name
:
ZodString
;
version
:
ZodNullable
<
ZodString
>
;
}
,
$strip
,
>
;
raw_result
:
ZodNullable
<
ZodJSONSchema
>
;
schema_version
:
ZodLiteral
<
2
>
;
subject
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodNullable
<
ZodEnum
<
(...)
>
>
;
digest
:
ZodObject
<
{
sha256
:
...
}
,
$strip
>
;
format
:
ZodEnum
<
{
"analysis-database"
:
...
;
apk
:
...
;
asar
:
...
;
directory
:
...
;
dmg
:
...
;
elf
:
...
;
entitlements
:
...
;
file
:
...
;
hopper
:
...
;
ipa
:
...
;
javascript
:
...
;
"javascript-bundle"
:
...
;
"mach-o"
:
...
;
"mach-o-universal"
:
...
;
pe
:
...
;
pkg
:
...
;
plist
:
...
;
"source-map"
:
...
;
unknown
:
...
;
zip
:
...
;
}
,
>
;
local_path
:
ZodString
;
name
:
ZodString
;
}
,
$strip
,
>
,
>
;
}
,
$strict
,
>
;
unknown_registry_approved
:
ZodOptional
<
ZodLiteral
<
true
>
>
;
}
,
$strict
,
>
;
kind
:
"application"
;
name
:
"compare_managed_members"
;
outputSchema
:
ZodObject
<
$ZodLooseShape
,
$strip
>
;
}
,
{
annotations
:
{
destructiveHint
:
false
;
idempotentHint
:
true
;
openWorldHint
:
false
;
readOnlyHint
:
true
;
}
;
description
:
"Import decompiler-produced managed reconstruction against authenticated inspect_managed_members Evidence. The workflow locks each method to artifact SHA-256, MVID, metadata token, signature hash, and normalized IL hash, records the decompiler identity and options, and marks C# or pseudocode as analyst inference rather than canonical byte observation."
;
examples
:
readonly
[
{
input
:
{
decompiler
:
{
executable_sha256
:
null
;
family
:
string
;
name
:
string
;
options
:
string
[]
;
version
:
string
;
}
;
methods
:
{
normalized_il_sha256
:
string
;
reconstruction
:
{
end_line
:
number
;
kind
:
string
;
language
:
string
;
source_path
:
string
;
start_line
:
number
;
text
:
string
;
}
;
signature_sha256
:
string
;
token
:
string
;
}
[]
;
notes
:
string
[]
;
static_members
:
|
{
analysis_profile
:
{
digest
:
string
;
parameters
:
Record
<
string
,
JSONType
>
;
provider
:
{
id
:
string
;
name
:
string
;
version
:
string
}
;
provider_profile_schema_version
:
number
;
schema_version
:
1
;
}
;
authority
:
|
"shipped-artifact"
|
"controlled-replay"
|
"historical-reference"
|
"external-service"
|
"analyst-inference"
;
confidence
:
"observed"
|
"derived"
|
"inferred"
;
environment
:
|
{
architecture
:
string
;
id
:
string
;
isolation
:
"process"
|
"none"
|
"container"
|
"virtual-machine"
;
platform
:
string
;
}
|
null
;
evidence_id
:
string
;
evidence_links
:
string
[]
;
limitations
:
string
[]
;
locations
:
(
|
{
address
:
string
;
kind
:
"address"
}
|
{
end
:
string
;
kind
:
"address-range"
;
start
:
string
}
|
{
kind
:
"artifact-path"
;
path
:
string
}
|
{
kind
:
"file-offset"
;
offset
:
number
}
|
{
end
:
number
;
kind
:
"file-offset-range"
;
start
:
number
}
)
[]
;
normalized_result
:
JSONType
;
operation
:
string
;
parameters
:
Record
<
string
,
JSONType
>
;
predicate_type
:
string
;
provider
:
{
id
:
string
;
name
:
string
;
version
:
string
|
null
}
;
raw_result
:
JSONType
;
schema_version
:
2
;
subject
:
|
{
architecture
:
"x86"
|
"x86_64"
|
"arm"
|
"arm64"
|
null
;
digest
:
{
sha256
:
string
}
;
format
:
|
"unknown"
|
"file"
|
"directory"
|
"javascript"
|
"source-map"
|
"plist"
|
"entitlements"
|
"dmg"
|
"zip"
|
"pkg"
|
"asar"
|
"javascript-bundle"
|
"mach-o-universal"
|
"mach-o"
|
"elf"
|
"pe"
|
"hopper"
|
"analysis-database"
|
"ipa"
|
"apk"
;
local_path
:
string
;
name
:
string
;
}
|
null
;
}
|
{
authority
:
|
"shipped-artifact"
|
"controlled-replay"
|
"historical-reference"
|
"external-service"
|
"analyst-inference"
;
confidence
:
"observed"
|
"derived"
|
"inferred"
;
environment
:
|
{
architecture
:
string
;
id
:
string
;
isolation
:
"process"
|
"none"
|
"container"
|
"virtual-machine"
;
platform
:
string
;
}
|
null
;
evidence_id
:
string
;
evidence_links
:
string
[]
;
limitations
:
string
[]
;
locations
:
(
|
{
address
:
string
;
kind
:
"address"
}
|
{
end
:
string
;
kind
:
"address-range"
;
start
:
string
}
|
{
kind
:
"artifact-path"
;
path
:
string
}
|
{
kind
:
"file-offset"
;
offset
:
number
}
|
{
end
:
number
;
kind
:
"file-offset-range"
;
start
:
number
}
)
[]
;
normalized_result
:
JSONType
;
operation
:
string
;
parameters
:
Record
<
string
,
JSONType
>
;
predicate_type
:
string
;
provider
:
{
id
:
string
;
name
:
string
;
version
:
string
|
null
}
;
raw_result
:
JSONType
;
schema_version
:
2
;
subject
:
|
{
architecture
:
"x86"
|
"x86_64"
|
"arm"
|
"arm64"
|
null
;
digest
:
{
sha256
:
string
}
;
format
:
|
"unknown"
|
"file"
|
"directory"
|
"javascript"
|
"source-map"
|
"plist"
|
"entitlements"
|
"dmg"
|
"zip"
|
"pkg"
|
"asar"
|
"javascript-bundle"
|
"mach-o-universal"
|
"mach-o"
|
"elf"
|
"pe"
|
"hopper"
|
"analysis-database"
|
"ipa"
|
"apk"
;
local_path
:
string
;
name
:
string
;
}
|
null
;
}
;
}
;
title
:
"Import a decompiler reconstruction for one managed method"
;
}
,
]
;
inputSchema
:
ZodObject
<
{
decompiler
:
ZodObject
<
{
executable_sha256
:
ZodNullable
<
ZodString
>
;
family
:
ZodEnum
<
{
dnlib
:
"dnlib"
;
dnspy
:
"dnspy"
;
ilspy
:
"ilspy"
;
"mono-cecil"
:
"mono-cecil"
;
other
:
"other"
;
}
,
>
;
name
:
ZodString
;
options
:
ZodDefault
<
ZodArray
<
ZodString
>
>
;
version
:
ZodNullable
<
ZodString
>
;
}
,
$strict
,
>
;
methods
:
ZodArray
<
ZodObject
<
{
normalized_il_sha256
:
ZodNullable
<
ZodString
>
;
reconstruction
:
ZodObject
<
{
end_line
:
ZodOptional
<
ZodNullable
<
(...)
>
>
;
kind
:
ZodEnum
<
{
"decompiled-csharp"
:
...
;
"decompiled-il"
:
...
;
"semantic-pseudocode"
:
...
;
}
,
>
;
language
:
ZodEnum
<
{
csharp
:
...
;
il
:
...
;
pseudocode
:
...
}
>
;
source_path
:
ZodOptional
<
ZodNullable
<
(...)
>
>
;
start_line
:
ZodOptional
<
ZodNullable
<
(...)
>
>
;
text
:
ZodString
;
text_sha256
:
ZodOptional
<
ZodString
>
;
}
,
$strict
,
>
;
signature_sha256
:
ZodString
;
token
:
ZodString
;
}
,
$strict
,
>
,
>
;
notes
:
ZodDefault
<
ZodArray
<
ZodString
>
>
;
static_members
:
ZodObject
<
{
analysis_profile
:
ZodOptional
<
ZodObject
<
{
digest
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
provider
:
ZodObject
<
{
id
:
...
;
name
:
...
;
version
:
...
}
,
$strip
>
;
provider_profile_schema_version
:
ZodNumber
;
schema_version
:
ZodLiteral
<
1
>
;
}
,
$strip
,
>
,
>
;
authority
:
ZodEnum
<
{
"analyst-inference"
:
"analyst-inference"
;
"controlled-replay"
:
"controlled-replay"
;
"external-service"
:
"external-service"
;
"historical-reference"
:
"historical-reference"
;
"shipped-artifact"
:
"shipped-artifact"
;
}
,
>
;
confidence
:
ZodEnum
<
{
derived
:
"derived"
;
inferred
:
"inferred"
;
observed
:
"observed"
}
,
>
;
environment
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodString
;
id
:
ZodString
;
isolation
:
ZodEnum
<
{
container
:
...
;
none
:
...
;
process
:
...
;
"virtual-machine"
:
...
;
}
,
>
;
platform
:
ZodString
;
}
,
$strip
,
>
,
>
;
evidence_id
:
ZodString
;
evidence_links
:
ZodArray
<
ZodString
>
;
limitations
:
ZodArray
<
ZodString
>
;
locations
:
ZodArray
<
ZodDiscriminatedUnion
<
[
ZodObject
<
{
address
:
...
;
kind
:
...
}
,
$strip
>
,
ZodObject
<
{
end
:
...
;
kind
:
...
;
start
:
...
}
,
$strip
>
,
ZodObject
<
{
kind
:
...
;
path
:
...
}
,
$strip
>
,
ZodObject
<
{
kind
:
...
;
offset
:
...
}
,
$strip
>
,
ZodObject
<
{
end
:
...
;
kind
:
...
;
start
:
...
}
,
$strip
>
,
]
,
"kind"
,
>
,
>
;
normalized_result
:
ZodJSONSchema
;
operation
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
predicate_type
:
ZodString
;
provider
:
ZodObject
<
{
id
:
ZodString
;
name
:
ZodString
;
version
:
ZodNullable
<
ZodString
>
;
}
,
$strip
,
>
;
raw_result
:
ZodNullable
<
ZodJSONSchema
>
;
schema_version
:
ZodLiteral
<
2
>
;
subject
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodNullable
<
ZodEnum
<
(...)
>
>
;
digest
:
ZodObject
<
{
sha256
:
...
}
,
$strip
>
;
format
:
ZodEnum
<
{
"analysis-database"
:
...
;
apk
:
...
;
asar
:
...
;
directory
:
...
;
dmg
:
...
;
elf
:
...
;
entitlements
:
...
;
file
:
...
;
hopper
:
...
;
ipa
:
...
;
javascript
:
...
;
"javascript-bundle"
:
...
;
"mach-o"
:
...
;
"mach-o-universal"
:
...
;
pe
:
...
;
pkg
:
...
;
plist
:
...
;
"source-map"
:
...
;
unknown
:
...
;
zip
:
...
;
}
,
>
;
local_path
:
ZodString
;
name
:
ZodString
;
}
,
$strip
,
>
,
>
;
}
,
$strict
,
>
;
unknown_registry_approved
:
ZodOptional
<
ZodLiteral
<
true
>
>
;
}
,
$strict
,
>
;
kind
:
"application"
;
name
:
"import_managed_reconstruction"
;
outputSchema
:
ZodObject
<
$ZodLooseShape
,
$strip
>
;
}
,
{
annotations
:
{
destructiveHint
:
false
;
idempotentHint
:
true
;
openWorldHint
:
false
;
readOnlyHint
:
true
;
}
;
description
:
"Prepare a separately authorized managed runtime-correlation admission plan from authenticated inspect_managed_members Evidence. The operation is default-disabled, requires the managed_runtime permission ceiling and grant, locks the exact artifact SHA-256, MVID, method signature, and normalized IL shape, distinguishes attach/load/debugger/reflection/instrumentation effects, and records that no target code was executed."
;
examples
:
readonly
[
{
input
:
{
bounds
:
{
allow_network
:
boolean
;
allow_ui
:
boolean
;
max_output_bytes
:
number
;
max_threads
:
number
;
timeout_ms
:
number
;
}
;
host
:
{
architecture
:
string
;
clr_family
:
string
;
os
:
string
}
;
method
:
{
normalized_il_sha256
:
string
;
signature_sha256
:
string
;
token
:
string
;
}
;
requested_effect
:
string
;
static_members
:
|
{
analysis_profile
:
{
digest
:
string
;
parameters
:
Record
<
string
,
JSONType
>
;
provider
:
{
id
:
string
;
name
:
string
;
version
:
string
}
;
provider_profile_schema_version
:
number
;
schema_version
:
1
;
}
;
authority
:
|
"shipped-artifact"
|
"controlled-replay"
|
"historical-reference"
|
"external-service"
|
"analyst-inference"
;
confidence
:
"observed"
|
"derived"
|
"inferred"
;
environment
:
|
{
architecture
:
string
;
id
:
string
;
isolation
:
"process"
|
"none"
|
"container"
|
"virtual-machine"
;
platform
:
string
;
}
|
null
;
evidence_id
:
string
;
evidence_links
:
string
[]
;
limitations
:
string
[]
;
locations
:
(
|
{
address
:
string
;
kind
:
"address"
}
|
{
end
:
string
;
kind
:
"address-range"
;
start
:
string
}
|
{
kind
:
"artifact-path"
;
path
:
string
}
|
{
kind
:
"file-offset"
;
offset
:
number
}
|
{
end
:
number
;
kind
:
"file-offset-range"
;
start
:
number
}
)
[]
;
normalized_result
:
JSONType
;
operation
:
string
;
parameters
:
Record
<
string
,
JSONType
>
;
predicate_type
:
string
;
provider
:
{
id
:
string
;
name
:
string
;
version
:
string
|
null
}
;
raw_result
:
JSONType
;
schema_version
:
2
;
subject
:
|
{
architecture
:
"x86"
|
"x86_64"
|
"arm"
|
"arm64"
|
null
;
digest
:
{
sha256
:
string
}
;
format
:
|
"unknown"
|
"file"
|
"directory"
|
"javascript"
|
"source-map"
|
"plist"
|
"entitlements"
|
"dmg"
|
"zip"
|
"pkg"
|
"asar"
|
"javascript-bundle"
|
"mach-o-universal"
|
"mach-o"
|
"elf"
|
"pe"
|
"hopper"
|
"analysis-database"
|
"ipa"
|
"apk"
;
local_path
:
string
;
name
:
string
;
}
|
null
;
}
|
{
authority
:
|
"shipped-artifact"
|
"controlled-replay"
|
"historical-reference"
|
"external-service"
|
"analyst-inference"
;
confidence
:
"observed"
|
"derived"
|
"inferred"
;
environment
:
|
{
architecture
:
string
;
id
:
string
;
isolation
:
"process"
|
"none"
|
"container"
|
"virtual-machine"
;
platform
:
string
;
}
|
null
;
evidence_id
:
string
;
evidence_links
:
string
[]
;
limitations
:
string
[]
;
locations
:
(
|
{
address
:
string
;
kind
:
"address"
}
|
{
end
:
string
;
kind
:
"address-range"
;
start
:
string
}
|
{
kind
:
"artifact-path"
;
path
:
string
}
|
{
kind
:
"file-offset"
;
offset
:
number
}
|
{
end
:
number
;
kind
:
"file-offset-range"
;
start
:
number
}
)
[]
;
normalized_result
:
JSONType
;
operation
:
string
;
parameters
:
Record
<
string
,
JSONType
>
;
predicate_type
:
string
;
provider
:
{
id
:
string
;
name
:
string
;
version
:
string
|
null
}
;
raw_result
:
JSONType
;
schema_version
:
2
;
subject
:
|
{
architecture
:
"x86"
|
"x86_64"
|
"arm"
|
"arm64"
|
null
;
digest
:
{
sha256
:
string
}
;
format
:
|
"unknown"
|
"file"
|
"directory"
|
"javascript"
|
"source-map"
|
"plist"
|
"entitlements"
|
"dmg"
|
"zip"
|
"pkg"
|
"asar"
|
"javascript-bundle"
|
"mach-o-universal"
|
"mach-o"
|
"elf"
|
"pe"
|
"hopper"
|
"analysis-database"
|
"ipa"
|
"apk"
;
local_path
:
string
;
name
:
string
;
}
|
null
;
}
;
}
;
title
:
"Plan an exact-build managed runtime correlation"
;
}
,
]
;
inputSchema
:
ZodObject
<
{
bounds
:
ZodDefault
<
ZodObject
<
{
allow_network
:
ZodDefault
<
ZodLiteral
<
false
>
>
;
allow_ui
:
ZodDefault
<
ZodLiteral
<
false
>
>
;
max_output_bytes
:
ZodDefault
<
ZodNumber
>
;
max_threads
:
ZodDefault
<
ZodNumber
>
;
timeout_ms
:
ZodDefault
<
ZodNumber
>
;
}
,
$strict
,
>
,
>
;
host
:
ZodObject
<
{
architecture
:
ZodEnum
<
{
arm
:
"arm"
;
arm64
:
"arm64"
;
x86
:
"x86"
;
x86_64
:
"x86_64"
}
,
>
;
clr_family
:
ZodEnum
<
{
dotnet
:
"dotnet"
;
"dotnet-framework"
:
"dotnet-framework"
;
mono
:
"mono"
;
unknown
:
"unknown"
;
}
,
>
;
os
:
ZodEnum
<
{
linux
:
"linux"
;
macos
:
"macos"
;
windows
:
"windows"
}
>
;
}
,
$strict
,
>
;
method
:
ZodObject
<
{
normalized_il_sha256
:
ZodNullable
<
ZodString
>
;
signature_sha256
:
ZodString
;
token
:
ZodString
;
}
,
$strict
,
>
;
requested_effect
:
ZodEnum
<
{
attach
:
"attach"
;
debugger
:
"debugger"
;
instrumentation
:
"instrumentation"
;
load
:
"load"
;
reflection
:
"reflection"
;
}
,
>
;
static_members
:
ZodObject
<
{
analysis_profile
:
ZodOptional
<
ZodObject
<
{
digest
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
provider
:
ZodObject
<
{
id
:
...
;
name
:
...
;
version
:
...
}
,
$strip
>
;
provider_profile_schema_version
:
ZodNumber
;
schema_version
:
ZodLiteral
<
1
>
;
}
,
$strip
,
>
,
>
;
authority
:
ZodEnum
<
{
"analyst-inference"
:
"analyst-inference"
;
"controlled-replay"
:
"controlled-replay"
;
"external-service"
:
"external-service"
;
"historical-reference"
:
"historical-reference"
;
"shipped-artifact"
:
"shipped-artifact"
;
}
,
>
;
confidence
:
ZodEnum
<
{
derived
:
"derived"
;
inferred
:
"inferred"
;
observed
:
"observed"
}
,
>
;
environment
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodString
;
id
:
ZodString
;
isolation
:
ZodEnum
<
{
container
:
...
;
none
:
...
;
process
:
...
;
"virtual-machine"
:
...
;
}
,
>
;
platform
:
ZodString
;
}
,
$strip
,
>
,
>
;
evidence_id
:
ZodString
;
evidence_links
:
ZodArray
<
ZodString
>
;
limitations
:
ZodArray
<
ZodString
>
;
locations
:
ZodArray
<
ZodDiscriminatedUnion
<
[
ZodObject
<
{
address
:
...
;
kind
:
...
}
,
$strip
>
,
ZodObject
<
{
end
:
...
;
kind
:
...
;
start
:
...
}
,
$strip
>
,
ZodObject
<
{
kind
:
...
;
path
:
...
}
,
$strip
>
,
ZodObject
<
{
kind
:
...
;
offset
:
...
}
,
$strip
>
,
ZodObject
<
{
end
:
...
;
kind
:
...
;
start
:
...
}
,
$strip
>
,
]
,
"kind"
,
>
,
>
;
normalized_result
:
ZodJSONSchema
;
operation
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
predicate_type
:
ZodString
;
provider
:
ZodObject
<
{
id
:
ZodString
;
name
:
ZodString
;
version
:
ZodNullable
<
ZodString
>
;
}
,
$strip
,
>
;
raw_result
:
ZodNullable
<
ZodJSONSchema
>
;
schema_version
:
ZodLiteral
<
2
>
;
subject
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodNullable
<
ZodEnum
<
(...)
>
>
;
digest
:
ZodObject
<
{
sha256
:
...
}
,
$strip
>
;
format
:
ZodEnum
<
{
"analysis-database"
:
...
;
apk
:
...
;
asar
:
...
;
directory
:
...
;
dmg
:
...
;
elf
:
...
;
entitlements
:
...
;
file
:
...
;
hopper
:
...
;
ipa
:
...
;
javascript
:
...
;
"javascript-bundle"
:
...
;
"mach-o"
:
...
;
"mach-o-universal"
:
...
;
pe
:
...
;
pkg
:
...
;
plist
:
...
;
"source-map"
:
...
;
unknown
:
...
;
zip
:
...
;
}
,
>
;
local_path
:
ZodString
;
name
:
ZodString
;
}
,
$strip
,
>
,
>
;
}
,
$strict
,
>
;
unknown_registry_approved
:
ZodOptional
<
ZodLiteral
<
true
>
>
;
}
,
$strict
,
>
;
kind
:
"application"
;
name
:
"plan_managed_runtime_correlation"
;
outputSchema
:
ZodObject
<
$ZodLooseShape
,
$strip
>
;
}
,
{
annotations
:
{
destructiveHint
:
false
;
idempotentHint
:
true
;
openWorldHint
:
true
;
readOnlyHint
:
true
;
}
;
description
:
"List bounded page targets from an approved user-owned loopback Chrome DevTools Protocol endpoint. Only targets whose current URL matches an approved exact origin are returned; URL credentials, query values, and fragments are redacted."
;
examples
:
readonly
[
{
input
:
{
allowed_origins
:
[
"https://app.example.test"
]
;
approved
:
true
;
cdp_endpoint
:
"http://127.0.0.1:9222"
;
limit
:
100
;
offset
:
0
;
}
;
title
:
"List approved browser page targets"
;
}
,
]
;
inputSchema
:
ZodObject
<
{
allowed_origins
:
ZodPipe
<
ZodArray
<
ZodPipe
<
ZodString
,
ZodTransform
<
string
,
string
>
>
>
,
ZodTransform
<
string
[]
,
string
[]
>
,
>
;
approved
:
ZodLiteral
<
true
>
;
cdp_endpoint
:
ZodPipe
<
ZodString
,
ZodTransform
<
string
,
string
>
>
;
limit
:
ZodDefault
<
ZodNumber
>
;
offset
:
ZodDefault
<
ZodNumber
>
;
}
,
$strip
,
>
;
kind
:
"browser-provider"
;
name
:
"list_browser_targets"
;
outputSchema
:
ZodObject
<
{
analysis_profile
:
ZodOptional
<
ZodObject
<
{
digest
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
provider
:
ZodObject
<
{
id
:
ZodString
;
name
:
ZodString
;
version
:
ZodString
}
,
$strip
,
>
;
provider_profile_schema_version
:
ZodNumber
;
schema_version
:
ZodLiteral
<
1
>
;
}
,
$strip
,
>
,
>
;
authority
:
ZodEnum
<
{
"analyst-inference"
:
"analyst-inference"
;
"controlled-replay"
:
"controlled-replay"
;
"external-service"
:
"external-service"
;
"historical-reference"
:
"historical-reference"
;
"shipped-artifact"
:
"shipped-artifact"
;
}
,
>
;
confidence
:
ZodEnum
<
{
derived
:
"derived"
;
inferred
:
"inferred"
;
observed
:
"observed"
}
,
>
;
environment
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodString
;
id
:
ZodString
;
isolation
:
ZodEnum
<
{
container
:
"container"
;
none
:
"none"
;
process
:
"process"
;
"virtual-machine"
:
"virtual-machine"
;
}
,
>
;
platform
:
ZodString
;
}
,
$strip
,
>
,
>
;
evidence_id
:
ZodString
;
evidence_links
:
ZodArray
<
ZodString
>
;
limitations
:
ZodArray
<
ZodString
>
;
locations
:
ZodArray
<
ZodDiscriminatedUnion
<
[
ZodObject
<
{
address
:
ZodString
;
kind
:
ZodLiteral
<
"address"
>
}
,
$strip
,
>
,
ZodObject
<
{
end
:
ZodString
;
kind
:
ZodLiteral
<
"address-range"
>
;
start
:
ZodString
;
}
,
$strip
,
>
,
ZodObject
<
{
kind
:
ZodLiteral
<
"artifact-path"
>
;
path
:
ZodString
}
,
$strip
,
>
,
ZodObject
<
{
kind
:
ZodLiteral
<
"file-offset"
>
;
offset
:
ZodNumber
}
,
$strip
,
>
,
ZodObject
<
{
end
:
ZodNumber
;
kind
:
ZodLiteral
<
"file-offset-range"
>
;
start
:
ZodNumber
;
}
,
$strip
,
>
,
]
,
"kind"
,
>
,
>
;
normalized_result
:
ZodObject
<
{
browser
:
ZodObject
<
{
js_version
:
ZodString
;
product
:
ZodString
;
protocol_version
:
ZodString
;
revision
:
ZodString
;
user_agent
:
ZodString
;
}
,
$strip
,
>
;
excluded
:
ZodObject
<
{
disallowed_origin
:
ZodNumber
;
non_page
:
ZodNumber
;
unsupported_url
:
ZodNumber
;
}
,
$strip
,
>
;
limitations
:
ZodArray
<
ZodString
>
;
schema_version
:
ZodLiteral
<
1
>
;
targets
:
ZodObject
<
{
has_more
:
ZodBoolean
;
items
:
ZodArray
<
ZodObject
<
{
attached
:
...
;
origin
:
...
;
target_id
:
...
;
title
:
...
;
type
:
...
;
url
:
...
;
}
,
$strip
,
>
,
>
;
limit
:
ZodNumber
;
next_offset
:
ZodNullable
<
ZodNumber
>
;
offset
:
ZodNumber
;
total
:
ZodNumber
;
}
,
$strip
,
>
;
}
,
$strip
,
>
;
operation
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
predicate_type
:
ZodString
;
provider
:
ZodObject
<
{
id
:
ZodString
;
name
:
ZodString
;
version
:
ZodNullable
<
ZodString
>
}
,
$strip
,
>
;
raw_result
:
ZodNullable
<
ZodJSONSchema
>
;
schema_version
:
ZodLiteral
<
2
>
;
subject
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodNullable
<
ZodEnum
<
{
arm
:
"arm"
;
arm64
:
"arm64"
;
x86
:
"x86"
;
x86_64
:
"x86_64"
}
,
>
,
>
;
digest
:
ZodObject
<
{
sha256
:
ZodString
}
,
$strip
>
;
format
:
ZodEnum
<
{
"analysis-database"
:
"analysis-database"
;
apk
:
"apk"
;
asar
:
"asar"
;
directory
:
"directory"
;
dmg
:
"dmg"
;
elf
:
"elf"
;
entitlements
:
"entitlements"
;
file
:
"file"
;
hopper
:
"hopper"
;
ipa
:
"ipa"
;
javascript
:
"javascript"
;
"javascript-bundle"
:
"javascript-bundle"
;
"mach-o"
:
"mach-o"
;
"mach-o-universal"
:
"mach-o-universal"
;
pe
:
"pe"
;
pkg
:
"pkg"
;
plist
:
"plist"
;
"source-map"
:
"source-map"
;
unknown
:
"unknown"
;
zip
:
"zip"
;
}
,
>
;
local_path
:
ZodString
;
name
:
ZodString
;
}
,
$strip
,
>
,
>
;
}
,
$strict
,
>
;
}
,
{
annotations
:
{
destructiveHint
:
false
;
idempotentHint
:
true
;
openWorldHint
:
true
;
readOnlyHint
:
true
;
}
;
description
:
"Passively inspect one approved page target through CDP without evaluating JavaScript, navigating, clicking, closing, or mutating the page. Returns bounded DOM structure, accessibility, scripts, resources, attach-window network and console metadata, workers, and redacted storage inventory as Evidence v2."
;
examples
:
readonly
[
{
input
:
{
allowed_origins
:
[
"https://app.example.test"
]
;
approved
:
true
;
cdp_endpoint
:
"http://127.0.0.1:9222"
;
console_text_approved
:
false
;
include_accessibility_text
:
false
;
include_console_text
:
false
;
include_json_body_shapes
:
false
;
include_script_sources
:
false
;
include_storage_keys
:
false
;
include_websocket_shapes
:
false
;
json_body_schema_approved
:
false
;
limits
:
{
max_ax_nodes
:
2000
;
max_ax_text_field_bytes
:
1024
;
max_console_events
:
200
;
max_console_text_field_bytes
:
1024
;
max_dom_nodes
:
2000
;
max_frames
:
200
;
max_json_body_bytes
:
1048576
;
max_json_shape_depth
:
20
;
max_json_shape_nodes
:
5000
;
max_network_events
:
1000
;
max_resources
:
2000
;
max_script_source_bytes
:
1048576
;
max_scripts
:
200
;
max_storage_keys
:
1000
;
max_total_ax_text_bytes
:
65536
;
max_total_console_text_bytes
:
65536
;
max_total_json_body_bytes
:
4194304
;
max_total_script_source_bytes
:
4194304
;
max_total_websocket_shape_bytes
:
1048576
;
max_websocket_events
:
500
;
max_websocket_shape_bytes
:
65536
;
max_workers
:
500
;
}
;
observation_ms
:
500
;
target_id
:
"TARGET_ID_FROM_LIST_BROWSER_TARGETS"
;
websocket_shape_approved
:
false
;
}
;
title
:
"Inspect one approved browser page"
;
}
,
]
;
inputSchema
:
ZodObject
<
{
allowed_origins
:
ZodPipe
<
ZodArray
<
ZodPipe
<
ZodString
,
ZodTransform
<
string
,
string
>
>
>
,
ZodTransform
<
string
[]
,
string
[]
>
,
>
;
approved
:
ZodLiteral
<
true
>
;
cdp_endpoint
:
ZodPipe
<
ZodString
,
ZodTransform
<
string
,
string
>
>
;
console_text_approved
:
ZodDefault
<
ZodBoolean
>
;
include_accessibility_text
:
ZodDefault
<
ZodBoolean
>
;
include_console_text
:
ZodDefault
<
ZodBoolean
>
;
include_json_body_shapes
:
ZodDefault
<
ZodBoolean
>
;
include_script_sources
:
ZodDefault
<
ZodBoolean
>
;
include_storage_keys
:
ZodDefault
<
ZodBoolean
>
;
include_websocket_shapes
:
ZodDefault
<
ZodBoolean
>
;
json_body_schema_approved
:
ZodDefault
<
ZodBoolean
>
;
limits
:
ZodDefault
<
ZodObject
<
{
max_ax_nodes
:
ZodDefault
<
ZodNumber
>
;
max_ax_text_field_bytes
:
ZodDefault
<
ZodNumber
>
;
max_console_events
:
ZodDefault
<
ZodNumber
>
;
max_console_text_field_bytes
:
ZodDefault
<
ZodNumber
>
;
max_dom_nodes
:
ZodDefault
<
ZodNumber
>
;
max_frames
:
ZodDefault
<
ZodNumber
>
;
max_json_body_bytes
:
ZodDefault
<
ZodNumber
>
;
max_json_shape_depth
:
ZodDefault
<
ZodNumber
>
;
max_json_shape_nodes
:
ZodDefault
<
ZodNumber
>
;
max_network_events
:
ZodDefault
<
ZodNumber
>
;
max_resources
:
ZodDefault
<
ZodNumber
>
;
max_script_source_bytes
:
ZodDefault
<
ZodNumber
>
;
max_scripts
:
ZodDefault
<
ZodNumber
>
;
max_storage_keys
:
ZodDefault
<
ZodNumber
>
;
max_total_ax_text_bytes
:
ZodDefault
<
ZodNumber
>
;
max_total_console_text_bytes
:
ZodDefault
<
ZodNumber
>
;
max_total_json_body_bytes
:
ZodDefault
<
ZodNumber
>
;
max_total_script_source_bytes
:
ZodDefault
<
ZodNumber
>
;
max_total_websocket_shape_bytes
:
ZodDefault
<
ZodNumber
>
;
max_websocket_events
:
ZodDefault
<
ZodNumber
>
;
max_websocket_shape_bytes
:
ZodDefault
<
ZodNumber
>
;
max_workers
:
ZodDefault
<
ZodNumber
>
;
}
,
$strip
,
>
,
>
;
observation_ms
:
ZodDefault
<
ZodNumber
>
;
target_id
:
ZodString
;
websocket_shape_approved
:
ZodDefault
<
ZodBoolean
>
;
}
,
$strip
,
>
;
kind
:
"browser-provider"
;
name
:
"inspect_web_page"
;
outputSchema
:
ZodObject
<
{
analysis_profile
:
ZodOptional
<
ZodObject
<
{
digest
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
provider
:
ZodObject
<
{
id
:
ZodString
;
name
:
ZodString
;
version
:
ZodString
}
,
$strip
,
>
;
provider_profile_schema_version
:
ZodNumber
;
schema_version
:
ZodLiteral
<
1
>
;
}
,
$strip
,
>
,
>
;
authority
:
ZodEnum
<
{
"analyst-inference"
:
"analyst-inference"
;
"controlled-replay"
:
"controlled-replay"
;
"external-service"
:
"external-service"
;
"historical-reference"
:
"historical-reference"
;
"shipped-artifact"
:
"shipped-artifact"
;
}
,
>
;
confidence
:
ZodEnum
<
{
derived
:
"derived"
;
inferred
:
"inferred"
;
observed
:
"observed"
}
,
>
;
environment
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodString
;
id
:
ZodString
;
isolation
:
ZodEnum
<
{
container
:
"container"
;
none
:
"none"
;
process
:
"process"
;
"virtual-machine"
:
"virtual-machine"
;
}
,
>
;
platform
:
ZodString
;
}
,
$strip
,
>
,
>
;
evidence_id
:
ZodString
;
evidence_links
:
ZodArray
<
ZodString
>
;
limitations
:
ZodArray
<
ZodString
>
;
locations
:
ZodArray
<
ZodDiscriminatedUnion
<
[
ZodObject
<
{
address
:
ZodString
;
kind
:
ZodLiteral
<
"address"
>
}
,
$strip
,
>
,
ZodObject
<
{
end
:
ZodString
;
kind
:
ZodLiteral
<
"address-range"
>
;
start
:
ZodString
;
}
,
$strip
,
>
,
ZodObject
<
{
kind
:
ZodLiteral
<
"artifact-path"
>
;
path
:
ZodString
}
,
$strip
,
>
,
ZodObject
<
{
kind
:
ZodLiteral
<
"file-offset"
>
;
offset
:
ZodNumber
}
,
$strip
,
>
,
ZodObject
<
{
end
:
ZodNumber
;
kind
:
ZodLiteral
<
"file-offset-range"
>
;
start
:
ZodNumber
;
}
,
$strip
,
>
,
]
,
"kind"
,
>
,
>
;
normalized_result
:
ZodObject
<
{
accessibility
:
ZodObject
<
{
nodes
:
ZodArray
<
ZodObject
<
{
description
:
...
;
ignored
:
...
;
name
:
...
;
node_id
:
...
;
parent_id
:
...
;
role
:
...
;
}
,
$strip
,
>
,
>
;
text_capture
:
ZodObject
<
{
excluded_fields
:
ZodNumber
;
retained_bytes
:
ZodNumber
;
status
:
ZodEnum
<
(...)
>
;
truncated_fields
:
ZodNumber
;
}
,
$strip
,
>
;
total_nodes
:
ZodNumber
;
}
,
$strip
,
>
;
browser
:
ZodObject
<
{
js_version
:
ZodString
;
product
:
ZodString
;
protocol_version
:
ZodString
;
revision
:
ZodString
;
user_agent
:
ZodString
;
}
,
$strip
,
>
;
capture_window
:
ZodObject
<
{
ended_at
:
ZodISODateTime
;
observation_ms
:
ZodNumber
;
started_at
:
ZodISODateTime
;
}
,
$strip
,
>
;
completeness
:
ZodObject
<
{
attach_limited_sections
:
ZodArray
<
ZodEnum
<
{
accessibility
:
...
;
console_events
:
...
;
console_text
:
...
;
dom
:
...
;
frames
:
...
;
json_body_shapes
:
...
;
metadata
:
...
;
network_initiators
:
...
;
network_requests
:
...
;
resources
:
...
;
screenshot
:
...
;
script_sources
:
...
;
scripts
:
...
;
source_maps
:
...
;
storage
:
...
;
storage_keys
:
...
;
timeline
:
...
;
webmcp_tools
:
...
;
websocket_connections
:
...
;
websocket_frames
:
...
;
websocket_shapes
:
...
;
workers
:
...
;
}
,
>
,
>
;
conditions
:
ZodArray
<
ZodEnum
<
{
attach_limited
:
...
;
complete_within_window
:
...
;
policy_filtered
:
...
;
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
:
...
;
reason
:
...
;
section
:
...
}
,
$strip
>
,
>
;
policy_filtered_sections
:
ZodArray
<
ZodEnum
<
{
accessibility
:
...
;
console_events
:
...
;
console_text
:
...
;
dom
:
...
;
frames
:
...
;
json_body_shapes
:
...
;
metadata
:
...
;
network_initiators
:
...
;
network_requests
:
...
;
resources
:
...
;
screenshot
:
...
;
script_sources
:
...
;
scripts
:
...
;
source_maps
:
...
;
storage
:
...
;
storage_keys
:
...
;
timeline
:
...
;
webmcp_tools
:
...
;
websocket_connections
:
...
;
websocket_frames
:
...
;
websocket_shapes
:
...
;
workers
:
...
;
}
,
>
,
>
;
status
:
ZodEnum
<
{
attach_limited
:
"attach_limited"
;
complete_within_window
:
"complete_within_window"
;
policy_filtered
:
"policy_filtered"
;
truncated
:
"truncated"
;
}
,
>
;
truncated_sections
:
ZodArray
<
ZodEnum
<
{
accessibility
:
...
;
console_events
:
...
;
console_text
:
...
;
dom
:
...
;
frames
:
...
;
json_body_shapes
:
...
;
metadata
:
...
;
network_initiators
:
...
;
network_requests
:
...
;
resources
:
...
;
screenshot
:
...
;
script_sources
:
...
;
scripts
:
...
;
source_maps
:
...
;
storage
:
...
;
storage_keys
:
...
;
timeline
:
...
;
webmcp_tools
:
...
;
websocket_connections
:
...
;
websocket_frames
:
...
;
websocket_shapes
:
...
;
workers
:
...
;
}
,
>
,
>
;
unavailable_sections
:
ZodArray
<
ZodEnum
<
{
accessibility
:
...
;
console_events
:
...
;
console_text
:
...
;
dom
:
...
;
frames
:
...
;
json_body_shapes
:
...
;
metadata
:
...
;
network_initiators
:
...
;
network_requests
:
...
;
resources
:
...
;
screenshot
:
...
;
script_sources
:
...
;
scripts
:
...
;
source_maps
:
...
;
storage
:
...
;
storage_keys
:
...
;
timeline
:
...
;
webmcp_tools
:
...
;
websocket_connections
:
...
;
websocket_frames
:
...
;
websocket_shapes
:
...
;
workers
:
...
;
}
,
>
,
>
;
}
,
$strip
,
>
;
console
:
ZodObject
<
{
coverage_started_at
:
ZodISODateTime
;
events
:
ZodArray
<
ZodObject
<
{
argument_types
:
...
;
column
:
...
;
line
:
...
;
text_capture
:
...
;
timestamp
:
...
;
type
:
...
;
url
:
...
;
}
,
$strip
,
>
,
>
;
prior_activity_available
:
ZodLiteral
<
false
>
;
}
,
$strip
,
>
;
dom
:
ZodObject
<
{
nodes
:
ZodArray
<
ZodObject
<
{
attribute_names
:
...
;
index
:
...
;
node_name
:
...
;
node_type
:
...
;
node_value_length
:
...
;
parent_index
:
...
;
}
,
$strip
,
>
,
>
;
total_nodes
:
ZodNumber
;
}
,
$strip
,
>
;
frames
:
ZodArray
<
ZodObject
<
{
frame_id
:
ZodString
;
origin
:
ZodNullable
<
ZodString
>
;
parent_frame_id
:
ZodNullable
<
ZodString
>
;
url
:
ZodString
;
}
,
$strip
,
>
,
>
;
limitations
:
ZodArray
<
ZodString
>
;
metadata
:
ZodObject
<
{
agent_hints
:
ZodArray
<
ZodObject
<
{
declaration
:
...
;
mechanism
:
...
;
trust
:
...
;
url
:
...
}
,
$strip
,
>
,
>
;
dom_urls
:
ZodArray
<
ZodObject
<
{
attribute
:
...
;
destination_scope
:
...
;
node_index
:
...
;
url
:
...
;
}
,
$strip
,
>
,
>
;
excluded_dom_urls
:
ZodNumber
;
headers_allowlisted
:
ZodLiteral
<
true
>
;
responses
:
ZodArray
<
ZodObject
<
{
content_encoding
:
...
;
content_length
:
...
;
csp
:
...
;
links
:
...
;
mime_type
:
...
;
policies
:
...
;
request_id
:
...
;
url
:
...
;
}
,
$strip
,
>
,
>
;
}
,
$strip
,
>
;
network
:
ZodObject
<
{
coverage_started_at
:
ZodISODateTime
;
prior_activity_available
:
ZodLiteral
<
false
>
;
requests
:
ZodArray
<
ZodObject
<
{
body_shapes
:
...
;
encoded_data_length
:
...
;
initiator
:
...
;
method
:
...
;
mime_type
:
...
;
origin
:
...
;
request_id
:
...
;
resource_type
:
...
;
status
:
...
;
url
:
...
;
}
,
$strip
,
>
,
>
;
websocket_events
:
ZodArray
<
ZodObject
<
{
direction
:
...
;
opcode
:
...
;
payload_bytes
:
...
;
payload_shape
:
...
;
request_id
:
...
;
}
,
$strip
,
>
,
>
;
}
,
$strip
,
>
;
resources
:
ZodArray
<
ZodObject
<
{
content_size
:
ZodNullable
<
ZodNumber
>
;
mime_type
:
ZodString
;
origin
:
ZodNullable
<
ZodString
>
;
resource_key
:
ZodString
;
type
:
ZodString
;
url
:
ZodString
;
}
,
$strip
,
>
,
>
;
schema_version
:
ZodLiteral
<
2
>
;
scripts
:
ZodObject
<
{
items
:
ZodArray
<
ZodObject
<
{
cdp_hash
:
...
;
frame_id
:
...
;
is_module
:
...
;
language
:
...
;
length
:
...
;
origin
:
...
;
resource_reconciliation
:
...
;
script_key
:
...
;
source
:
...
;
source_map_url
:
...
;
url
:
...
;
}
,
$strip
,
>
,
>
;
total
:
ZodNumber
;
}
,
$strip
,
>
;
storage
:
ZodObject
<
{
cache_names
:
ZodArray
<
ZodString
>
;
indexed_db_names
:
ZodArray
<
ZodString
>
;
local_storage_keys
:
ZodArray
<
ZodString
>
;
origin
:
ZodString
;
quota_bytes
:
ZodNullable
<
ZodNumber
>
;
session_storage_keys
:
ZodArray
<
ZodString
>
;
usage_bytes
:
ZodNullable
<
ZodNumber
>
;
values_redacted
:
ZodLiteral
<
true
>
;
}
,
$strip
,
>
;
target
:
ZodObject
<
{
attached
:
ZodBoolean
;
origin
:
ZodString
;
target_id
:
ZodString
;
title
:
ZodString
;
type
:
ZodString
;
url
:
ZodString
;
}
,
$strip
,
>
;
workers
:
ZodArray
<
ZodObject
<
{
attached
:
ZodBoolean
;
opener_target_id
:
ZodDefault
<
ZodNullable
<
(...)
>
>
;
origin
:
ZodNullable
<
ZodString
>
;
parent_frame_id
:
ZodDefault
<
ZodNullable
<
(...)
>
>
;
target_id
:
ZodString
;
type
:
ZodString
;
url
:
ZodString
;
}
,
$strip
,
>
,
>
;
}
,
$strip
,
>
;
operation
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
predicate_type
:
ZodString
;
provider
:
ZodObject
<
{
id
:
ZodString
;
name
:
ZodString
;
version
:
ZodNullable
<
ZodString
>
}
,
$strip
,
>
;
raw_result
:
ZodNullable
<
ZodJSONSchema
>
;
schema_version
:
ZodLiteral
<
2
>
;
subject
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodNullable
<
ZodEnum
<
{
arm
:
"arm"
;
arm64
:
"arm64"
;
x86
:
"x86"
;
x86_64
:
"x86_64"
}
,
>
,
>
;
digest
:
ZodObject
<
{
sha256
:
ZodString
}
,
$strip
>
;
format
:
ZodEnum
<
{
"analysis-database"
:
"analysis-database"
;
apk
:
"apk"
;
asar
:
"asar"
;
directory
:
"directory"
;
dmg
:
"dmg"
;
elf
:
"elf"
;
entitlements
:
"entitlements"
;
file
:
"file"
;
hopper
:
"hopper"
;
ipa
:
"ipa"
;
javascript
:
"javascript"
;
"javascript-bundle"
:
"javascript-bundle"
;
"mach-o"
:
"mach-o"
;
"mach-o-universal"
:
"mach-o-universal"
;
pe
:
"pe"
;
pkg
:
"pkg"
;
plist
:
"plist"
;
"source-map"
:
"source-map"
;
unknown
:
"unknown"
;
zip
:
"zip"
;
}
,
>
;
local_path
:
ZodString
;
name
:
ZodString
;
}
,
$strip
,
>
,
>
;
}
,
$strict
,
>
;
}
,
{
annotations
:
{
destructiveHint
:
false
;
idempotentHint
:
true
;
openWorldHint
:
true
;
readOnlyHint
:
true
;
}
;
description
:
"Capture explicitly approved JavaScript source from one approved CDP page and statically derive a bounded chunk graph, route and endpoint candidates, vendor fingerprints, page-declared WebMCP metadata, and optional separately approved source-map evidence. JavaScript is parsed but never executed."
;
examples
:
readonly
[
{
input
:
{
allowed_origins
:
[
"https://app.example.test"
]
;
analysis_limits
:
{
max_ast_nodes
:
250000
;
max_findings
:
1000
;
max_original_sources
:
2000
;
max_source_map_bytes
:
4194304
;
max_source_map_mappings
:
10000
;
max_source_maps
:
100
;
max_total_source_map_bytes
:
16777216
;
}
;
approved
:
true
;
cdp_endpoint
:
"http://127.0.0.1:9222"
;
fetch_source_maps
:
false
;
include_accessibility_text
:
false
;
include_script_sources
:
true
;
include_storage_keys
:
false
;
observation_ms
:
500
;
source_capture_approved
:
true
;
source_map_fetch_approved
:
false
;
target_id
:
"TARGET_ID_FROM_LIST_BROWSER_TARGETS"
;
}
;
title
:
"Analyze an approved page bundle"
;
}
,
]
;
inputSchema
:
ZodObject
<
{
allowed_origins
:
ZodPipe
<
ZodArray
<
ZodPipe
<
ZodString
,
ZodTransform
<
string
,
string
>
>
>
,
ZodTransform
<
string
[]
,
string
[]
>
,
>
;
analysis_limits
:
ZodDefault
<
ZodObject
<
{
max_ast_nodes
:
ZodDefault
<
ZodNumber
>
;
max_findings
:
ZodDefault
<
ZodNumber
>
;
max_original_sources
:
ZodDefault
<
ZodNumber
>
;
max_source_map_bytes
:
ZodDefault
<
ZodNumber
>
;
max_source_map_mappings
:
ZodDefault
<
ZodNumber
>
;
max_source_maps
:
ZodDefault
<
ZodNumber
>
;
max_total_source_map_bytes
:
ZodDefault
<
ZodNumber
>
;
}
,
$strip
,
>
,
>
;
approved
:
ZodLiteral
<
true
>
;
cdp_endpoint
:
ZodPipe
<
ZodString
,
ZodTransform
<
string
,
string
>
>
;
console_text_approved
:
ZodDefault
<
ZodBoolean
>
;
fetch_source_maps
:
ZodDefault
<
ZodBoolean
>
;
include_accessibility_text
:
ZodDefault
<
ZodBoolean
>
;
include_console_text
:
ZodDefault
<
ZodBoolean
>
;
include_json_body_shapes
:
ZodDefault
<
ZodBoolean
>
;
include_script_sources
:
ZodDefault
<
ZodLiteral
<
true
>
>
;
include_storage_keys
:
ZodDefault
<
ZodBoolean
>
;
include_websocket_shapes
:
ZodDefault
<
ZodBoolean
>
;
json_body_schema_approved
:
ZodDefault
<
ZodBoolean
>
;
limits
:
ZodDefault
<
ZodObject
<
{
max_ax_nodes
:
ZodDefault
<
ZodNumber
>
;
max_ax_text_field_bytes
:
ZodDefault
<
ZodNumber
>
;
max_console_events
:
ZodDefault
<
ZodNumber
>
;
max_console_text_field_bytes
:
ZodDefault
<
ZodNumber
>
;
max_dom_nodes
:
ZodDefault
<
ZodNumber
>
;
max_frames
:
ZodDefault
<
ZodNumber
>
;
max_json_body_bytes
:
ZodDefault
<
ZodNumber
>
;
max_json_shape_depth
:
ZodDefault
<
ZodNumber
>
;
max_json_shape_nodes
:
ZodDefault
<
ZodNumber
>
;
max_network_events
:
ZodDefault
<
ZodNumber
>
;
max_resources
:
ZodDefault
<
ZodNumber
>
;
max_script_source_bytes
:
ZodDefault
<
ZodNumber
>
;
max_scripts
:
ZodDefault
<
ZodNumber
>
;
max_storage_keys
:
ZodDefault
<
ZodNumber
>
;
max_total_ax_text_bytes
:
ZodDefault
<
ZodNumber
>
;
max_total_console_text_bytes
:
ZodDefault
<
ZodNumber
>
;
max_total_json_body_bytes
:
ZodDefault
<
ZodNumber
>
;
max_total_script_source_bytes
:
ZodDefault
<
ZodNumber
>
;
max_total_websocket_shape_bytes
:
ZodDefault
<
ZodNumber
>
;
max_websocket_events
:
ZodDefault
<
ZodNumber
>
;
max_websocket_shape_bytes
:
ZodDefault
<
ZodNumber
>
;
max_workers
:
ZodDefault
<
ZodNumber
>
;
}
,
$strip
,
>
,
>
;
observation_ms
:
ZodDefault
<
ZodNumber
>
;
source_capture_approved
:
ZodLiteral
<
true
>
;
source_map_fetch_approved
:
ZodDefault
<
ZodBoolean
>
;
target_id
:
ZodString
;
websocket_shape_approved
:
ZodDefault
<
ZodBoolean
>
;
}
,
$strip
,
>
;
kind
:
"browser-provider"
;
name
:
"analyze_web_bundle"
;
outputSchema
:
ZodObject
<
{
analysis_profile
:
ZodOptional
<
ZodObject
<
{
digest
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
provider
:
ZodObject
<
{
id
:
ZodString
;
name
:
ZodString
;
version
:
ZodString
}
,
$strip
,
>
;
provider_profile_schema_version
:
ZodNumber
;
schema_version
:
ZodLiteral
<
1
>
;
}
,
$strip
,
>
,
>
;
authority
:
ZodEnum
<
{
"analyst-inference"
:
"analyst-inference"
;
"controlled-replay"
:
"controlled-replay"
;
"external-service"
:
"external-service"
;
"historical-reference"
:
"historical-reference"
;
"shipped-artifact"
:
"shipped-artifact"
;
}
,
>
;
confidence
:
ZodEnum
<
{
derived
:
"derived"
;
inferred
:
"inferred"
;
observed
:
"observed"
}
,
>
;
environment
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodString
;
id
:
ZodString
;
isolation
:
ZodEnum
<
{
container
:
"container"
;
none
:
"none"
;
process
:
"process"
;
"virtual-machine"
:
"virtual-machine"
;
}
,
>
;
platform
:
ZodString
;
}
,
$strip
,
>
,
>
;
evidence_id
:
ZodString
;
evidence_links
:
ZodArray
<
ZodString
>
;
limitations
:
ZodArray
<
ZodString
>
;
locations
:
ZodArray
<
ZodDiscriminatedUnion
<
[
ZodObject
<
{
address
:
ZodString
;
kind
:
ZodLiteral
<
"address"
>
}
,
$strip
,
>
,
ZodObject
<
{
end
:
ZodString
;
kind
:
ZodLiteral
<
"address-range"
>
;
start
:
ZodString
;
}
,
$strip
,
>
,
ZodObject
<
{
kind
:
ZodLiteral
<
"artifact-path"
>
;
path
:
ZodString
}
,
$strip
,
>
,
ZodObject
<
{
kind
:
ZodLiteral
<
"file-offset"
>
;
offset
:
ZodNumber
}
,
$strip
,
>
,
ZodObject
<
{
end
:
ZodNumber
;
kind
:
ZodLiteral
<
"file-offset-range"
>
;
start
:
ZodNumber
;
}
,
$strip
,
>
,
]
,
"kind"
,
>
,
>
;
normalized_result
:
ZodObject
<
{
capture
:
ZodObject
<
{
scripts_analyzed
:
ZodNumber
;
scripts_observed
:
ZodNumber
;
source_artifacts
:
ZodArray
<
ZodObject
<
{
bytes
:
...
;
charset
:
...
;
media_type
:
...
;
sha256
:
...
;
text_available
:
...
;
uri
:
...
;
}
,
$strip
,
>
,
>
;
target_url
:
ZodString
;
}
,
$strip
,
>
;
completeness
:
ZodObject
<
{
dropped_findings
:
ZodNumber
;
parse_failures
:
ZodNumber
;
parsed_scripts
:
ZodNumber
;
status
:
ZodEnum
<
{
complete_within_limits
:
"complete_within_limits"
;
partial
:
"partial"
;
truncated
:
"truncated"
;
}
,
>
;
visited_ast_nodes
:
ZodNumber
;
}
,
$strip
,
>
;
inferences
:
ZodArray
<
ZodObject
<
{
basis
:
ZodArray
<
ZodObject
<
(...)
,
(...)
>
>
;
confidence
:
ZodEnum
<
{
high
:
...
;
low
:
...
;
medium
:
...
}
>
;
kind
:
ZodEnum
<
{
bundle_runtime
:
...
;
route_framework
:
...
;
vendor_fingerprint
:
...
;
}
,
>
;
value
:
ZodString
;
}
,
$strip
,
>
,
>
;
limitations
:
ZodArray
<
ZodString
>
;
observations
:
ZodObject
<
{
chunks
:
ZodObject
<
{
edges
:
ZodArray
<
(...)
>
;
nodes
:
ZodArray
<
(...)
>
}
,
$strip
,
>
;
endpoints
:
ZodArray
<
ZodObject
<
{
location
:
...
;
mechanism
:
...
;
value
:
...
}
,
$strip
>
,
>
;
routes
:
ZodArray
<
ZodObject
<
{
location
:
...
;
mechanism
:
...
;
value
:
...
}
,
$strip
>
,
>
;
source_maps
:
ZodObject
<
{
dropped
:
ZodNumber
;
dropped_script_keys
:
ZodArray
<
(...)
>
;
items
:
ZodArray
<
(...)
>
;
processed
:
ZodNumber
;
requested
:
ZodNumber
;
status
:
ZodEnum
<
(...)
>
;
}
,
$strip
,
>
;
webmcp_declarations
:
ZodArray
<
ZodObject
<
{
description
:
...
;
location
:
...
;
name
:
...
;
schema_property_names
:
...
;
trust
:
...
;
}
,
$strip
,
>
,
>
;
}
,
$strip
,
>
;
schema_version
:
ZodLiteral
<
1
>
;
unknowns
:
ZodArray
<
ZodObject
<
{
affected_script_keys
:
ZodArray
<
ZodString
>
;
dimension
:
ZodString
;
reason
:
ZodString
;
}
,
$strip
,
>
,
>
;
}
,
$strip
,
>
;
operation
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
predicate_type
:
ZodString
;
provider
:
ZodObject
<
{
id
:
ZodString
;
name
:
ZodString
;
version
:
ZodNullable
<
ZodString
>
}
,
$strip
,
>
;
raw_result
:
ZodNullable
<
ZodJSONSchema
>
;
schema_version
:
ZodLiteral
<
2
>
;
subject
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodNullable
<
ZodEnum
<
{
arm
:
"arm"
;
arm64
:
"arm64"
;
x86
:
"x86"
;
x86_64
:
"x86_64"
}
,
>
,
>
;
digest
:
ZodObject
<
{
sha256
:
ZodString
}
,
$strip
>
;
format
:
ZodEnum
<
{
"analysis-database"
:
"analysis-database"
;
apk
:
"apk"
;
asar
:
"asar"
;
directory
:
"directory"
;
dmg
:
"dmg"
;
elf
:
"elf"
;
entitlements
:
"entitlements"
;
file
:
"file"
;
hopper
:
"hopper"
;
ipa
:
"ipa"
;
javascript
:
"javascript"
;
"javascript-bundle"
:
"javascript-bundle"
;
"mach-o"
:
"mach-o"
;
"mach-o-universal"
:
"mach-o-universal"
;
pe
:
"pe"
;
pkg
:
"pkg"
;
plist
:
"plist"
;
"source-map"
:
"source-map"
;
unknown
:
"unknown"
;
zip
:
"zip"
;
}
,
>
;
local_path
:
ZodString
;
name
:
ZodString
;
}
,
$strip
,
>
,
>
;
}
,
$strict
,
>
;
}
,
{
annotations
:
{
destructiveHint
:
false
;
idempotentHint
:
false
;
openWorldHint
:
true
;
readOnlyHint
:
true
;
}
;
description
:
"Arm a bounded CDP observation window while the user operates the page. Allows approved same-origin reload and SPA navigation, records ordered navigation, redirect, lifecycle, and failure metadata, and stops before retaining an out-of-policy destination."
;
examples
:
readonly
[
{
input
:
{
allowed_origins
:
[
"https://app.example.test"
]
;
approved
:
true
;
cdp_endpoint
:
"http://127.0.0.1:9222"
;
max_timeline_events
:
2000
;
observation_ms
:
10000
;
target_id
:
"TARGET_ID_FROM_LIST_BROWSER_TARGETS"
;
}
;
title
:
"Observe one external user action"
;
}
,
]
;
inputSchema
:
ZodObject
<
{
allowed_origins
:
ZodPipe
<
ZodArray
<
ZodPipe
<
ZodString
,
ZodTransform
<
string
,
string
>
>
>
,
ZodTransform
<
string
[]
,
string
[]
>
,
>
;
approved
:
ZodLiteral
<
true
>
;
cdp_endpoint
:
ZodPipe
<
ZodString
,
ZodTransform
<
string
,
string
>
>
;
max_timeline_events
:
ZodDefault
<
ZodNumber
>
;
observation_ms
:
ZodDefault
<
ZodNumber
>
;
target_id
:
ZodString
;
}
,
$strip
,
>
;
kind
:
"browser-provider"
;
name
:
"observe_web_session"
;
outputSchema
:
ZodObject
<
{
analysis_profile
:
ZodOptional
<
ZodObject
<
{
digest
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
provider
:
ZodObject
<
{
id
:
ZodString
;
name
:
ZodString
;
version
:
ZodString
}
,
$strip
,
>
;
provider_profile_schema_version
:
ZodNumber
;
schema_version
:
ZodLiteral
<
1
>
;
}
,
$strip
,
>
,
>
;
authority
:
ZodEnum
<
{
"analyst-inference"
:
"analyst-inference"
;
"controlled-replay"
:
"controlled-replay"
;
"external-service"
:
"external-service"
;
"historical-reference"
:
"historical-reference"
;
"shipped-artifact"
:
"shipped-artifact"
;
}
,
>
;
confidence
:
ZodEnum
<
{
derived
:
"derived"
;
inferred
:
"inferred"
;
observed
:
"observed"
}
,
>
;
environment
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodString
;
id
:
ZodString
;
isolation
:
ZodEnum
<
{
container
:
"container"
;
none
:
"none"
;
process
:
"process"
;
"virtual-machine"
:
"virtual-machine"
;
}
,
>
;
platform
:
ZodString
;
}
,
$strip
,
>
,
>
;
evidence_id
:
ZodString
;
evidence_links
:
ZodArray
<
ZodString
>
;
limitations
:
ZodArray
<
ZodString
>
;
locations
:
ZodArray
<
ZodDiscriminatedUnion
<
[
ZodObject
<
{
address
:
ZodString
;
kind
:
ZodLiteral
<
"address"
>
}
,
$strip
,
>
,
ZodObject
<
{
end
:
ZodString
;
kind
:
ZodLiteral
<
"address-range"
>
;
start
:
ZodString
;
}
,
$strip
,
>
,
ZodObject
<
{
kind
:
ZodLiteral
<
"artifact-path"
>
;
path
:
ZodString
}
,
$strip
,
>
,
ZodObject
<
{
kind
:
ZodLiteral
<
"file-offset"
>
;
offset
:
ZodNumber
}
,
$strip
,
>
,
ZodObject
<
{
end
:
ZodNumber
;
kind
:
ZodLiteral
<
"file-offset-range"
>
;
start
:
ZodNumber
;
}
,
$strip
,
>
,
]
,
"kind"
,
>
,
>
;
normalized_result
:
ZodObject
<
{
browser
:
ZodObject
<
{
js_version
:
ZodString
;
product
:
ZodString
;
protocol_version
:
ZodString
;
revision
:
ZodString
;
user_agent
:
ZodString
;
}
,
$strip
,
>
;
completeness
:
ZodObject
<
{
attach_limited_sections
:
ZodArray
<
ZodEnum
<
{
accessibility
:
...
;
console_events
:
...
;
console_text
:
...
;
dom
:
...
;
frames
:
...
;
json_body_shapes
:
...
;
metadata
:
...
;
network_initiators
:
...
;
network_requests
:
...
;
resources
:
...
;
screenshot
:
...
;
script_sources
:
...
;
scripts
:
...
;
source_maps
:
...
;
storage
:
...
;
storage_keys
:
...
;
timeline
:
...
;
webmcp_tools
:
...
;
websocket_connections
:
...
;
websocket_frames
:
...
;
websocket_shapes
:
...
;
workers
:
...
;
}
,
>
,
>
;
conditions
:
ZodArray
<
ZodEnum
<
{
attach_limited
:
...
;
complete_within_window
:
...
;
policy_filtered
:
...
;
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
:
...
;
reason
:
...
;
section
:
...
}
,
$strip
>
,
>
;
policy_filtered_sections
:
ZodArray
<
ZodEnum
<
{
accessibility
:
...
;
console_events
:
...
;
console_text
:
...
;
dom
:
...
;
frames
:
...
;
json_body_shapes
:
...
;
metadata
:
...
;
network_initiators
:
...
;
network_requests
:
...
;
resources
:
...
;
screenshot
:
...
;
script_sources
:
...
;
scripts
:
...
;
source_maps
:
...
;
storage
:
...
;
storage_keys
:
...
;
timeline
:
...
;
webmcp_tools
:
...
;
websocket_connections
:
...
;
websocket_frames
:
...
;
websocket_shapes
:
...
;
workers
:
...
;
}
,
>
,
>
;
status
:
ZodEnum
<
{
attach_limited
:
"attach_limited"
;
complete_within_window
:
"complete_within_window"
;
policy_filtered
:
"policy_filtered"
;
truncated
:
"truncated"
;
}
,
>
;
truncated_sections
:
ZodArray
<
ZodEnum
<
{
accessibility
:
...
;
console_events
:
...
;
console_text
:
...
;
dom
:
...
;
frames
:
...
;
json_body_shapes
:
...
;
metadata
:
...
;
network_initiators
:
...
;
network_requests
:
...
;
resources
:
...
;
screenshot
:
...
;
script_sources
:
...
;
scripts
:
...
;
source_maps
:
...
;
storage
:
...
;
storage_keys
:
...
;
timeline
:
...
;
webmcp_tools
:
...
;
websocket_connections
:
...
;
websocket_frames
:
...
;
websocket_shapes
:
...
;
workers
:
...
;
}
,
>
,
>
;
unavailable_sections
:
ZodArray
<
ZodEnum
<
{
accessibility
:
...
;
console_events
:
...
;
console_text
:
...
;
dom
:
...
;
frames
:
...
;
json_body_shapes
:
...
;
metadata
:
...
;
network_initiators
:
...
;
network_requests
:
...
;
resources
:
...
;
screenshot
:
...
;
script_sources
:
...
;
scripts
:
...
;
source_maps
:
...
;
storage
:
...
;
storage_keys
:
...
;
timeline
:
...
;
webmcp_tools
:
...
;
websocket_connections
:
...
;
websocket_frames
:
...
;
websocket_shapes
:
...
;
workers
:
...
;
}
,
>
,
>
;
}
,
$strip
,
>
;
limitations
:
ZodArray
<
ZodString
>
;
schema_version
:
ZodLiteral
<
1
>
;
target
:
ZodObject
<
{
final_url
:
ZodNullable
<
ZodString
>
;
initial_url
:
ZodString
;
target_id
:
ZodString
;
}
,
$strip
,
>
;
timeline
:
ZodArray
<
ZodObject
<
{
destination_scope
:
ZodNullable
<
ZodEnum
<
(...)
>
>
;
detail
:
ZodNullable
<
ZodString
>
;
frame_id
:
ZodNullable
<
ZodString
>
;
loader_id
:
ZodNullable
<
ZodString
>
;
request_id
:
ZodNullable
<
ZodString
>
;
sequence
:
ZodNumber
;
timestamp
:
ZodNumber
;
type
:
ZodEnum
<
{
lifecycle
:
...
;
load_failed
:
...
;
navigation_committed
:
...
;
navigation_requested
:
...
;
redirect
:
...
;
same_document_navigation
:
...
;
same_origin_reload
:
...
;
target_terminated
:
...
;
}
,
>
;
url
:
ZodNullable
<
ZodString
>
;
}
,
$strip
,
>
,
>
;
window
:
ZodObject
<
{
armed_at
:
ZodISODateTime
;
end_reason
:
ZodEnum
<
{
target_left_scope
:
"target_left_scope"
;
target_terminated
:
"target_terminated"
;
window_elapsed
:
"window_elapsed"
;
}
,
>
;
ended_at
:
ZodISODateTime
;
requested_ms
:
ZodNumber
;
}
,
$strip
,
>
;
}
,
$strip
,
>
;
operation
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
predicate_type
:
ZodString
;
provider
:
ZodObject
<
{
id
:
ZodString
;
name
:
ZodString
;
version
:
ZodNullable
<
ZodString
>
}
,
$strip
,
>
;
raw_result
:
ZodNullable
<
ZodJSONSchema
>
;
schema_version
:
ZodLiteral
<
2
>
;
subject
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodNullable
<
ZodEnum
<
{
arm
:
"arm"
;
arm64
:
"arm64"
;
x86
:
"x86"
;
x86_64
:
"x86_64"
}
,
>
,
>
;
digest
:
ZodObject
<
{
sha256
:
ZodString
}
,
$strip
>
;
format
:
ZodEnum
<
{
"analysis-database"
:
"analysis-database"
;
apk
:
"apk"
;
asar
:
"asar"
;
directory
:
"directory"
;
dmg
:
"dmg"
;
elf
:
"elf"
;
entitlements
:
"entitlements"
;
file
:
"file"
;
hopper
:
"hopper"
;
ipa
:
"ipa"
;
javascript
:
"javascript"
;
"javascript-bundle"
:
"javascript-bundle"
;
"mach-o"
:
"mach-o"
;
"mach-o-universal"
:
"mach-o-universal"
;
pe
:
"pe"
;
pkg
:
"pkg"
;
plist
:
"plist"
;
"source-map"
:
"source-map"
;
unknown
:
"unknown"
;
zip
:
"zip"
;
}
,
>
;
local_path
:
ZodString
;
name
:
ZodString
;
}
,
$strip
,
>
,
>
;
}
,
$strict
,
>
;
}
,
{
annotations
:
{
destructiveHint
:
false
;
idempotentHint
:
true
;
openWorldHint
:
true
;
readOnlyHint
:
true
;
}
;
description
:
"Passively inventory page-registered WebMCP tools using the experimental CDP WebMCP domain. Metadata is bounded and page-declared-untrusted; REA never registers or invokes discovered tools."
;
examples
:
readonly
[
{
input
:
{
allowed_origins
:
[
"https://app.example.test"
]
;
approved
:
true
;
cdp_endpoint
:
"http://127.0.0.1:9222"
;
max_schema_bytes
:
262144
;
max_schema_depth
:
20
;
max_schema_nodes
:
5000
;
max_tools
:
500
;
observation_ms
:
100
;
target_id
:
"TARGET_ID_FROM_LIST_BROWSER_TARGETS"
;
}
;
title
:
"Discover current WebMCP declarations"
;
}
,
]
;
inputSchema
:
ZodObject
<
{
allowed_origins
:
ZodPipe
<
ZodArray
<
ZodPipe
<
ZodString
,
ZodTransform
<
string
,
string
>
>
>
,
ZodTransform
<
string
[]
,
string
[]
>
,
>
;
approved
:
ZodLiteral
<
true
>
;
cdp_endpoint
:
ZodPipe
<
ZodString
,
ZodTransform
<
string
,
string
>
>
;
max_schema_bytes
:
ZodDefault
<
ZodNumber
>
;
max_schema_depth
:
ZodDefault
<
ZodNumber
>
;
max_schema_nodes
:
ZodDefault
<
ZodNumber
>
;
max_tools
:
ZodDefault
<
ZodNumber
>
;
observation_ms
:
ZodDefault
<
ZodNumber
>
;
target_id
:
ZodString
;
}
,
$strip
,
>
;
kind
:
"browser-provider"
;
name
:
"discover_webmcp_tools"
;
outputSchema
:
ZodObject
<
{
analysis_profile
:
ZodOptional
<
ZodObject
<
{
digest
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
provider
:
ZodObject
<
{
id
:
ZodString
;
name
:
ZodString
;
version
:
ZodString
}
,
$strip
,
>
;
provider_profile_schema_version
:
ZodNumber
;
schema_version
:
ZodLiteral
<
1
>
;
}
,
$strip
,
>
,
>
;
authority
:
ZodEnum
<
{
"analyst-inference"
:
"analyst-inference"
;
"controlled-replay"
:
"controlled-replay"
;
"external-service"
:
"external-service"
;
"historical-reference"
:
"historical-reference"
;
"shipped-artifact"
:
"shipped-artifact"
;
}
,
>
;
confidence
:
ZodEnum
<
{
derived
:
"derived"
;
inferred
:
"inferred"
;
observed
:
"observed"
}
,
>
;
environment
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodString
;
id
:
ZodString
;
isolation
:
ZodEnum
<
{
container
:
"container"
;
none
:
"none"
;
process
:
"process"
;
"virtual-machine"
:
"virtual-machine"
;
}
,
>
;
platform
:
ZodString
;
}
,
$strip
,
>
,
>
;
evidence_id
:
ZodString
;
evidence_links
:
ZodArray
<
ZodString
>
;
limitations
:
ZodArray
<
ZodString
>
;
locations
:
ZodArray
<
ZodDiscriminatedUnion
<
[
ZodObject
<
{
address
:
ZodString
;
kind
:
ZodLiteral
<
"address"
>
}
,
$strip
,
>
,
ZodObject
<
{
end
:
ZodString
;
kind
:
ZodLiteral
<
"address-range"
>
;
start
:
ZodString
;
}
,
$strip
,
>
,
ZodObject
<
{
kind
:
ZodLiteral
<
"artifact-path"
>
;
path
:
ZodString
}
,
$strip
,
>
,
ZodObject
<
{
kind
:
ZodLiteral
<
"file-offset"
>
;
offset
:
ZodNumber
}
,
$strip
,
>
,
ZodObject
<
{
end
:
ZodNumber
;
kind
:
ZodLiteral
<
"file-offset-range"
>
;
start
:
ZodNumber
;
}
,
$strip
,
>
,
]
,
"kind"
,
>
,
>
;
normalized_result
:
ZodObject
<
{
browser
:
ZodObject
<
{
js_version
:
ZodString
;
product
:
ZodString
;
protocol_version
:
ZodString
;
revision
:
ZodString
;
user_agent
:
ZodString
;
}
,
$strip
,
>
;
completeness
:
ZodObject
<
{
attach_limited_sections
:
ZodArray
<
ZodEnum
<
{
accessibility
:
...
;
console_events
:
...
;
console_text
:
...
;
dom
:
...
;
frames
:
...
;
json_body_shapes
:
...
;
metadata
:
...
;
network_initiators
:
...
;
network_requests
:
...
;
resources
:
...
;
screenshot
:
...
;
script_sources
:
...
;
scripts
:
...
;
source_maps
:
...
;
storage
:
...
;
storage_keys
:
...
;
timeline
:
...
;
webmcp_tools
:
...
;
websocket_connections
:
...
;
websocket_frames
:
...
;
websocket_shapes
:
...
;
workers
:
...
;
}
,
>
,
>
;
conditions
:
ZodArray
<
ZodEnum
<
{
attach_limited
:
...
;
complete_within_window
:
...
;
policy_filtered
:
...
;
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
:
...
;
reason
:
...
;
section
:
...
}
,
$strip
>
,
>
;
policy_filtered_sections
:
ZodArray
<
ZodEnum
<
{
accessibility
:
...
;
console_events
:
...
;
console_text
:
...
;
dom
:
...
;
frames
:
...
;
json_body_shapes
:
...
;
metadata
:
...
;
network_initiators
:
...
;
network_requests
:
...
;
resources
:
...
;
screenshot
:
...
;
script_sources
:
...
;
scripts
:
...
;
source_maps
:
...
;
storage
:
...
;
storage_keys
:
...
;
timeline
:
...
;
webmcp_tools
:
...
;
websocket_connections
:
...
;
websocket_frames
:
...
;
websocket_shapes
:
...
;
workers
:
...
;
}
,
>
,
>
;
status
:
ZodEnum
<
{
attach_limited
:
"attach_limited"
;
complete_within_window
:
"complete_within_window"
;
policy_filtered
:
"policy_filtered"
;
truncated
:
"truncated"
;
}
,
>
;
truncated_sections
:
ZodArray
<
ZodEnum
<
{
accessibility
:
...
;
console_events
:
...
;
console_text
:
...
;
dom
:
...
;
frames
:
...
;
json_body_shapes
:
...
;
metadata
:
...
;
network_initiators
:
...
;
network_requests
:
...
;
resources
:
...
;
screenshot
:
...
;
script_sources
:
...
;
scripts
:
...
;
source_maps
:
...
;
storage
:
...
;
storage_keys
:
...
;
timeline
:
...
;
webmcp_tools
:
...
;
websocket_connections
:
...
;
websocket_frames
:
...
;
websocket_shapes
:
...
;
workers
:
...
;
}
,
>
,
>
;
unavailable_sections
:
ZodArray
<
ZodEnum
<
{
accessibility
:
...
;
console_events
:
...
;
console_text
:
...
;
dom
:
...
;
frames
:
...
;
json_body_shapes
:
...
;
metadata
:
...
;
network_initiators
:
...
;
network_requests
:
...
;
resources
:
...
;
screenshot
:
...
;
script_sources
:
...
;
scripts
:
...
;
source_maps
:
...
;
storage
:
...
;
storage_keys
:
...
;
timeline
:
...
;
webmcp_tools
:
...
;
websocket_connections
:
...
;
websocket_frames
:
...
;
websocket_shapes
:
...
;
workers
:
...
;
}
,
>
,
>
;
}
,
$strip
,
>
;
limitations
:
ZodArray
<
ZodString
>
;
schema_version
:
ZodLiteral
<
1
>
;
status
:
ZodEnum
<
{
available
:
"available"
;
unavailable
:
"unavailable"
}
,
>
;
target
:
ZodObject
<
{
origin
:
ZodString
;
target_id
:
ZodString
;
url
:
ZodString
}
,
$strip
,
>
;
tools
:
ZodObject
<
{
items
:
ZodArray
<
ZodObject
<
{
annotations
:
...
;
declaration_kind
:
...
;
description
:
...
;
frame_id
:
...
;
frame_url
:
...
;
input_schema_shape
:
...
;
name
:
...
;
owner_origin
:
...
;
registration_source
:
...
;
tool_key
:
...
;
trust
:
...
;
}
,
$strip
,
>
,
>
;
total
:
ZodNumber
;
}
,
$strip
,
>
;
}
,
$strip
,
>
;
operation
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
predicate_type
:
ZodString
;
provider
:
ZodObject
<
{
id
:
ZodString
;
name
:
ZodString
;
version
:
ZodNullable
<
ZodString
>
}
,
$strip
,
>
;
raw_result
:
ZodNullable
<
ZodJSONSchema
>
;
schema_version
:
ZodLiteral
<
2
>
;
subject
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodNullable
<
ZodEnum
<
{
arm
:
"arm"
;
arm64
:
"arm64"
;
x86
:
"x86"
;
x86_64
:
"x86_64"
}
,
>
,
>
;
digest
:
ZodObject
<
{
sha256
:
ZodString
}
,
$strip
>
;
format
:
ZodEnum
<
{
"analysis-database"
:
"analysis-database"
;
apk
:
"apk"
;
asar
:
"asar"
;
directory
:
"directory"
;
dmg
:
"dmg"
;
elf
:
"elf"
;
entitlements
:
"entitlements"
;
file
:
"file"
;
hopper
:
"hopper"
;
ipa
:
"ipa"
;
javascript
:
"javascript"
;
"javascript-bundle"
:
"javascript-bundle"
;
"mach-o"
:
"mach-o"
;
"mach-o-universal"
:
"mach-o-universal"
;
pe
:
"pe"
;
pkg
:
"pkg"
;
plist
:
"plist"
;
"source-map"
:
"source-map"
;
unknown
:
"unknown"
;
zip
:
"zip"
;
}
,
>
;
local_path
:
ZodString
;
name
:
ZodString
;
}
,
$strip
,
>
,
>
;
}
,
$strict
,
>
;
}
,
{
annotations
:
{
destructiveHint
:
false
;
idempotentHint
:
true
;
openWorldHint
:
false
;
readOnlyHint
:
true
;
}
;
description
:
"Compare two normalized web captures across DOM, scripts, resources, network, safe metadata, and optional WebMCP inventories. Stable observed changes are distinguished from unknown absence caused by incomplete capture coverage."
;
examples
:
readonly
[
{
input
:
{
after
:
{
inspection
:
{
accessibility
:
{
nodes
:
never
[]
;
text_capture
:
{
excluded_fields
:
number
;
retained_bytes
:
number
;
status
:
string
;
truncated_fields
:
number
;
}
;
total_nodes
:
number
;
}
;
browser
:
{
js_version
:
string
;
product
:
string
;
protocol_version
:
string
;
revision
:
string
;
user_agent
:
string
;
}
;
capture_window
:
{
ended_at
:
string
;
observation_ms
:
number
;
started_at
:
string
;
}
;
completeness
:
{
attach_limited_sections
:
never
[]
;
conditions
:
string
[]
;
dropped_events
:
{
console_events
:
number
;
network_requests
:
number
;
scripts
:
number
;
timeline_events
:
number
;
total
:
number
;
webmcp_tools
:
number
;
websocket_connections
:
number
;
websocket_frames
:
number
;
}
;
excluded
:
never
[]
;
policy_filtered_sections
:
never
[]
;
status
:
string
;
truncated_sections
:
never
[]
;
unavailable_sections
:
never
[]
;
}
;
console
:
{
coverage_started_at
:
string
;
events
:
never
[]
;
prior_activity_available
:
boolean
;
}
;
dom
:
{
nodes
:
never
[]
;
total_nodes
:
number
}
;
frames
:
never
[]
;
limitations
:
never
[]
;
metadata
:
{
agent_hints
:
never
[]
;
dom_urls
:
never
[]
;
excluded_dom_urls
:
number
;
headers_allowlisted
:
boolean
;
responses
:
never
[]
;
}
;
network
:
{
coverage_started_at
:
string
;
prior_activity_available
:
boolean
;
requests
:
never
[]
;
websocket_events
:
never
[]
;
}
;
resources
:
never
[]
;
schema_version
:
number
;
scripts
:
{
items
:
never
[]
;
total
:
number
}
;
storage
:
{
cache_names
:
never
[]
;
indexed_db_names
:
never
[]
;
local_storage_keys
:
never
[]
;
origin
:
string
;
quota_bytes
:
null
;
session_storage_keys
:
never
[]
;
usage_bytes
:
null
;
values_redacted
:
boolean
;
}
;
target
:
{
attached
:
boolean
;
origin
:
string
;
target_id
:
string
;
title
:
string
;
type
:
string
;
url
:
string
;
}
;
workers
:
never
[]
;
}
;
}
;
before
:
{
inspection
:
{
accessibility
:
{
nodes
:
never
[]
;
text_capture
:
{
excluded_fields
:
number
;
retained_bytes
:
number
;
status
:
string
;
truncated_fields
:
number
;
}
;
total_nodes
:
number
;
}
;
browser
:
{
js_version
:
string
;
product
:
string
;
protocol_version
:
string
;
revision
:
string
;
user_agent
:
string
;
}
;
capture_window
:
{
ended_at
:
string
;
observation_ms
:
number
;
started_at
:
string
;
}
;
completeness
:
{
attach_limited_sections
:
never
[]
;
conditions
:
string
[]
;
dropped_events
:
{
console_events
:
number
;
network_requests
:
number
;
scripts
:
number
;
timeline_events
:
number
;
total
:
number
;
webmcp_tools
:
number
;
websocket_connections
:
number
;
websocket_frames
:
number
;
}
;
excluded
:
never
[]
;
policy_filtered_sections
:
never
[]
;
status
:
string
;
truncated_sections
:
never
[]
;
unavailable_sections
:
never
[]
;
}
;
console
:
{
coverage_started_at
:
string
;
events
:
never
[]
;
prior_activity_available
:
boolean
;
}
;
dom
:
{
nodes
:
never
[]
;
total_nodes
:
number
}
;
frames
:
never
[]
;
limitations
:
never
[]
;
metadata
:
{
agent_hints
:
never
[]
;
dom_urls
:
never
[]
;
excluded_dom_urls
:
number
;
headers_allowlisted
:
boolean
;
responses
:
never
[]
;
}
;
network
:
{
coverage_started_at
:
string
;
prior_activity_available
:
boolean
;
requests
:
never
[]
;
websocket_events
:
never
[]
;
}
;
resources
:
never
[]
;
schema_version
:
number
;
scripts
:
{
items
:
never
[]
;
total
:
number
}
;
storage
:
{
cache_names
:
never
[]
;
indexed_db_names
:
never
[]
;
local_storage_keys
:
never
[]
;
origin
:
string
;
quota_bytes
:
null
;
session_storage_keys
:
never
[]
;
usage_bytes
:
null
;
values_redacted
:
boolean
;
}
;
target
:
{
attached
:
boolean
;
origin
:
string
;
target_id
:
string
;
title
:
string
;
type
:
string
;
url
:
string
;
}
;
workers
:
never
[]
;
}
;
}
;
max_changes
:
2000
;
}
;
title
:
"Compare two normalized captures"
;
}
,
]
;
inputSchema
:
ZodObject
<
{
after
:
ZodObject
<
{
inspection
:
ZodObject
<
{
accessibility
:
ZodObject
<
{
nodes
:
ZodArray
<
(...)
>
;
text_capture
:
ZodObject
<
(...)
,
(...)
>
;
total_nodes
:
ZodNumber
;
}
,
$strip
,
>
;
browser
:
ZodObject
<
{
js_version
:
ZodString
;
product
:
ZodString
;
protocol_version
:
ZodString
;
revision
:
ZodString
;
user_agent
:
ZodString
;
}
,
$strip
,
>
;
capture_window
:
ZodObject
<
{
ended_at
:
ZodISODateTime
;
observation_ms
:
ZodNumber
;
started_at
:
ZodISODateTime
;
}
,
$strip
,
>
;
completeness
:
ZodObject
<
{
attach_limited_sections
:
ZodArray
<
(...)
>
;
conditions
:
ZodArray
<
(...)
>
;
dropped_events
:
ZodObject
<
(...)
,
(...)
>
;
excluded
:
ZodArray
<
(...)
>
;
policy_filtered_sections
:
ZodArray
<
(...)
>
;
status
:
ZodEnum
<
(...)
>
;
truncated_sections
:
ZodArray
<
(...)
>
;
unavailable_sections
:
ZodArray
<
(...)
>
;
}
,
$strip
,
>
;
console
:
ZodObject
<
{
coverage_started_at
:
ZodISODateTime
;
events
:
ZodArray
<
(...)
>
;
prior_activity_available
:
ZodLiteral
<
(...)
>
;
}
,
$strip
,
>
;
dom
:
ZodObject
<
{
nodes
:
ZodArray
<
(...)
>
;
total_nodes
:
ZodNumber
}
,
$strip
,
>
;
frames
:
ZodArray
<
ZodObject
<
{
frame_id
:
...
;
origin
:
...
;
parent_frame_id
:
...
;
url
:
...
}
,
$strip
,
>
,
>
;
limitations
:
ZodArray
<
ZodString
>
;
metadata
:
ZodObject
<
{
agent_hints
:
ZodArray
<
(...)
>
;
dom_urls
:
ZodArray
<
(...)
>
;
excluded_dom_urls
:
ZodNumber
;
headers_allowlisted
:
ZodLiteral
<
(...)
>
;
responses
:
ZodArray
<
(...)
>
;
}
,
$strip
,
>
;
network
:
ZodObject
<
{
coverage_started_at
:
ZodISODateTime
;
prior_activity_available
:
ZodLiteral
<
(...)
>
;
requests
:
ZodArray
<
(...)
>
;
websocket_events
:
ZodArray
<
(...)
>
;
}
,
$strip
,
>
;
resources
:
ZodArray
<
ZodObject
<
{
content_size
:
...
;
mime_type
:
...
;
origin
:
...
;
resource_key
:
...
;
type
:
...
;
url
:
...
;
}
,
$strip
,
>
,
>
;
schema_version
:
ZodLiteral
<
2
>
;
scripts
:
ZodObject
<
{
items
:
ZodArray
<
(...)
>
;
total
:
ZodNumber
}
,
$strip
,
>
;
storage
:
ZodObject
<
{
cache_names
:
ZodArray
<
(...)
>
;
indexed_db_names
:
ZodArray
<
(...)
>
;
local_storage_keys
:
ZodArray
<
(...)
>
;
origin
:
ZodString
;
quota_bytes
:
ZodNullable
<
(...)
>
;
session_storage_keys
:
ZodArray
<
(...)
>
;
usage_bytes
:
ZodNullable
<
(...)
>
;
values_redacted
:
ZodLiteral
<
(...)
>
;
}
,
$strip
,
>
;
target
:
ZodObject
<
{
attached
:
ZodBoolean
;
origin
:
ZodString
;
target_id
:
ZodString
;
title
:
ZodString
;
type
:
ZodString
;
url
:
ZodString
;
}
,
$strip
,
>
;
workers
:
ZodArray
<
ZodObject
<
{
attached
:
...
;
opener_target_id
:
...
;
origin
:
...
;
parent_frame_id
:
...
;
target_id
:
...
;
type
:
...
;
url
:
...
;
}
,
$strip
,
>
,
>
;
}
,
$strip
,
>
;
webmcp
:
ZodDefault
<
ZodNullable
<
ZodObject
<
{
browser
:
ZodObject
<
(...)
,
(...)
>
;
completeness
:
ZodObject
<
(...)
,
(...)
>
;
limitations
:
ZodArray
<
(...)
>
;
schema_version
:
ZodLiteral
<
(...)
>
;
status
:
ZodEnum
<
(...)
>
;
target
:
ZodObject
<
(...)
,
(...)
>
;
tools
:
ZodObject
<
(...)
,
(...)
>
;
}
,
$strip
,
>
,
>
,
>
;
}
,
$strip
,
>
;
before
:
ZodObject
<
{
inspection
:
ZodObject
<
{
accessibility
:
ZodObject
<
{
nodes
:
ZodArray
<
(...)
>
;
text_capture
:
ZodObject
<
(...)
,
(...)
>
;
total_nodes
:
ZodNumber
;
}
,
$strip
,
>
;
browser
:
ZodObject
<
{
js_version
:
ZodString
;
product
:
ZodString
;
protocol_version
:
ZodString
;
revision
:
ZodString
;
user_agent
:
ZodString
;
}
,
$strip
,
>
;
capture_window
:
ZodObject
<
{
ended_at
:
ZodISODateTime
;
observation_ms
:
ZodNumber
;
started_at
:
ZodISODateTime
;
}
,
$strip
,
>
;
completeness
:
ZodObject
<
{
attach_limited_sections
:
ZodArray
<
(...)
>
;
conditions
:
ZodArray
<
(...)
>
;
dropped_events
:
ZodObject
<
(...)
,
(...)
>
;
excluded
:
ZodArray
<
(...)
>
;
policy_filtered_sections
:
ZodArray
<
(...)
>
;
status
:
ZodEnum
<
(...)
>
;
truncated_sections
:
ZodArray
<
(...)
>
;
unavailable_sections
:
ZodArray
<
(...)
>
;
}
,
$strip
,
>
;
console
:
ZodObject
<
{
coverage_started_at
:
ZodISODateTime
;
events
:
ZodArray
<
(...)
>
;
prior_activity_available
:
ZodLiteral
<
(...)
>
;
}
,
$strip
,
>
;
dom
:
ZodObject
<
{
nodes
:
ZodArray
<
(...)
>
;
total_nodes
:
ZodNumber
}
,
$strip
,
>
;
frames
:
ZodArray
<
ZodObject
<
{
frame_id
:
...
;
origin
:
...
;
parent_frame_id
:
...
;
url
:
...
}
,
$strip
,
>
,
>
;
limitations
:
ZodArray
<
ZodString
>
;
metadata
:
ZodObject
<
{
agent_hints
:
ZodArray
<
(...)
>
;
dom_urls
:
ZodArray
<
(...)
>
;
excluded_dom_urls
:
ZodNumber
;
headers_allowlisted
:
ZodLiteral
<
(...)
>
;
responses
:
ZodArray
<
(...)
>
;
}
,
$strip
,
>
;
network
:
ZodObject
<
{
coverage_started_at
:
ZodISODateTime
;
prior_activity_available
:
ZodLiteral
<
(...)
>
;
requests
:
ZodArray
<
(...)
>
;
websocket_events
:
ZodArray
<
(...)
>
;
}
,
$strip
,
>
;
resources
:
ZodArray
<
ZodObject
<
{
content_size
:
...
;
mime_type
:
...
;
origin
:
...
;
resource_key
:
...
;
type
:
...
;
url
:
...
;
}
,
$strip
,
>
,
>
;
schema_version
:
ZodLiteral
<
2
>
;
scripts
:
ZodObject
<
{
items
:
ZodArray
<
(...)
>
;
total
:
ZodNumber
}
,
$strip
,
>
;
storage
:
ZodObject
<
{
cache_names
:
ZodArray
<
(...)
>
;
indexed_db_names
:
ZodArray
<
(...)
>
;
local_storage_keys
:
ZodArray
<
(...)
>
;
origin
:
ZodString
;
quota_bytes
:
ZodNullable
<
(...)
>
;
session_storage_keys
:
ZodArray
<
(...)
>
;
usage_bytes
:
ZodNullable
<
(...)
>
;
values_redacted
:
ZodLiteral
<
(...)
>
;
}
,
$strip
,
>
;
target
:
ZodObject
<
{
attached
:
ZodBoolean
;
origin
:
ZodString
;
target_id
:
ZodString
;
title
:
ZodString
;
type
:
ZodString
;
url
:
ZodString
;
}
,
$strip
,
>
;
workers
:
ZodArray
<
ZodObject
<
{
attached
:
...
;
opener_target_id
:
...
;
origin
:
...
;
parent_frame_id
:
...
;
target_id
:
...
;
type
:
...
;
url
:
...
;
}
,
$strip
,
>
,
>
;
}
,
$strip
,
>
;
webmcp
:
ZodDefault
<
ZodNullable
<
ZodObject
<
{
browser
:
ZodObject
<
(...)
,
(...)
>
;
completeness
:
ZodObject
<
(...)
,
(...)
>
;
limitations
:
ZodArray
<
(...)
>
;
schema_version
:
ZodLiteral
<
(...)
>
;
status
:
ZodEnum
<
(...)
>
;
target
:
ZodObject
<
(...)
,
(...)
>
;
tools
:
ZodObject
<
(...)
,
(...)
>
;
}
,
$strip
,
>
,
>
,
>
;
}
,
$strip
,
>
;
max_changes
:
ZodDefault
<
ZodNumber
>
;
}
,
$strip
,
>
;
kind
:
"browser-provider"
;
name
:
"compare_web_captures"
;
outputSchema
:
ZodObject
<
{
analysis_profile
:
ZodOptional
<
ZodObject
<
{
digest
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
provider
:
ZodObject
<
{
id
:
ZodString
;
name
:
ZodString
;
version
:
ZodString
}
,
$strip
,
>
;
provider_profile_schema_version
:
ZodNumber
;
schema_version
:
ZodLiteral
<
1
>
;
}
,
$strip
,
>
,
>
;
authority
:
ZodEnum
<
{
"analyst-inference"
:
"analyst-inference"
;
"controlled-replay"
:
"controlled-replay"
;
"external-service"
:
"external-service"
;
"historical-reference"
:
"historical-reference"
;
"shipped-artifact"
:
"shipped-artifact"
;
}
,
>
;
confidence
:
ZodEnum
<
{
derived
:
"derived"
;
inferred
:
"inferred"
;
observed
:
"observed"
}
,
>
;
environment
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodString
;
id
:
ZodString
;
isolation
:
ZodEnum
<
{
container
:
"container"
;
none
:
"none"
;
process
:
"process"
;
"virtual-machine"
:
"virtual-machine"
;
}
,
>
;
platform
:
ZodString
;
}
,
$strip
,
>
,
>
;
evidence_id
:
ZodString
;
evidence_links
:
ZodArray
<
ZodString
>
;
limitations
:
ZodArray
<
ZodString
>
;
locations
:
ZodArray
<
ZodDiscriminatedUnion
<
[
ZodObject
<
{
address
:
ZodString
;
kind
:
ZodLiteral
<
"address"
>
}
,
$strip
,
>
,
ZodObject
<
{
end
:
ZodString
;
kind
:
ZodLiteral
<
"address-range"
>
;
start
:
ZodString
;
}
,
$strip
,
>
,
ZodObject
<
{
kind
:
ZodLiteral
<
"artifact-path"
>
;
path
:
ZodString
}
,
$strip
,
>
,
ZodObject
<
{
kind
:
ZodLiteral
<
"file-offset"
>
;
offset
:
ZodNumber
}
,
$strip
,
>
,
ZodObject
<
{
end
:
ZodNumber
;
kind
:
ZodLiteral
<
"file-offset-range"
>
;
start
:
ZodNumber
;
}
,
$strip
,
>
,
]
,
"kind"
,
>
,
>
;
normalized_result
:
ZodObject
<
{
after_target
:
ZodObject
<
{
target_id
:
ZodString
;
url
:
ZodString
}
,
$strip
,
>
;
before_target
:
ZodObject
<
{
target_id
:
ZodString
;
url
:
ZodString
}
,
$strip
,
>
;
dimensions
:
ZodObject
<
{
dom_structure
:
ZodObject
<
{
changes
:
ZodArray
<
(...)
>
;
omitted_changes
:
ZodNumber
;
reason
:
ZodNullable
<
(...)
>
;
status
:
ZodEnum
<
(...)
>
;
total_changes
:
ZodNumber
;
}
,
$strip
,
>
;
metadata
:
ZodObject
<
{
changes
:
ZodArray
<
(...)
>
;
omitted_changes
:
ZodNumber
;
reason
:
ZodNullable
<
(...)
>
;
status
:
ZodEnum
<
(...)
>
;
total_changes
:
ZodNumber
;
}
,
$strip
,
>
;
network
:
ZodObject
<
{
changes
:
ZodArray
<
(...)
>
;
omitted_changes
:
ZodNumber
;
reason
:
ZodNullable
<
(...)
>
;
status
:
ZodEnum
<
(...)
>
;
total_changes
:
ZodNumber
;
}
,
$strip
,
>
;
resources
:
ZodObject
<
{
changes
:
ZodArray
<
(...)
>
;
omitted_changes
:
ZodNumber
;
reason
:
ZodNullable
<
(...)
>
;
status
:
ZodEnum
<
(...)
>
;
total_changes
:
ZodNumber
;
}
,
$strip
,
>
;
scripts
:
ZodObject
<
{
changes
:
ZodArray
<
(...)
>
;
omitted_changes
:
ZodNumber
;
reason
:
ZodNullable
<
(...)
>
;
status
:
ZodEnum
<
(...)
>
;
total_changes
:
ZodNumber
;
}
,
$strip
,
>
;
webmcp
:
ZodObject
<
{
changes
:
ZodArray
<
(...)
>
;
omitted_changes
:
ZodNumber
;
reason
:
ZodNullable
<
(...)
>
;
status
:
ZodEnum
<
(...)
>
;
total_changes
:
ZodNumber
;
}
,
$strip
,
>
;
}
,
$strip
,
>
;
limitations
:
ZodArray
<
ZodString
>
;
overall_status
:
ZodEnum
<
{
changed
:
"changed"
;
unchanged
:
"unchanged"
;
unknown
:
"unknown"
}
,
>
;
schema_version
:
ZodLiteral
<
1
>
;
}
,
$strip
,
>
;
operation
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
predicate_type
:
ZodString
;
provider
:
ZodObject
<
{
id
:
ZodString
;
name
:
ZodString
;
version
:
ZodNullable
<
ZodString
>
}
,
$strip
,
>
;
raw_result
:
ZodNullable
<
ZodJSONSchema
>
;
schema_version
:
ZodLiteral
<
2
>
;
subject
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodNullable
<
ZodEnum
<
{
arm
:
"arm"
;
arm64
:
"arm64"
;
x86
:
"x86"
;
x86_64
:
"x86_64"
}
,
>
,
>
;
digest
:
ZodObject
<
{
sha256
:
ZodString
}
,
$strip
>
;
format
:
ZodEnum
<
{
"analysis-database"
:
"analysis-database"
;
apk
:
"apk"
;
asar
:
"asar"
;
directory
:
"directory"
;
dmg
:
"dmg"
;
elf
:
"elf"
;
entitlements
:
"entitlements"
;
file
:
"file"
;
hopper
:
"hopper"
;
ipa
:
"ipa"
;
javascript
:
"javascript"
;
"javascript-bundle"
:
"javascript-bundle"
;
"mach-o"
:
"mach-o"
;
"mach-o-universal"
:
"mach-o-universal"
;
pe
:
"pe"
;
pkg
:
"pkg"
;
plist
:
"plist"
;
"source-map"
:
"source-map"
;
unknown
:
"unknown"
;
zip
:
"zip"
;
}
,
>
;
local_path
:
ZodString
;
name
:
ZodString
;
}
,
$strip
,
>
,
>
;
}
,
$strict
,
>
;
}
,
{
annotations
:
{
destructiveHint
:
false
;
idempotentHint
:
false
;
openWorldHint
:
true
;
readOnlyHint
:
true
;
}
;
description
:
"Capture the current visible viewport of one approved page as a bounded, content-addressed PNG artifact. Screenshot capture requires separate explicit approval and never scrolls, navigates, or evaluates page JavaScript."
;
examples
:
readonly
[
{
input
:
{
allowed_origins
:
[
"https://app.example.test"
]
;
approved
:
true
;
cdp_endpoint
:
"http://127.0.0.1:9222"
;
maximum_image_bytes
:
4194304
;
screenshot_approved
:
true
;
target_id
:
"TARGET_ID_FROM_LIST_BROWSER_TARGETS"
;
}
;
title
:
"Capture an approved viewport"
;
}
,
]
;
inputSchema
:
ZodObject
<
{
allowed_origins
:
ZodPipe
<
ZodArray
<
ZodPipe
<
ZodString
,
ZodTransform
<
string
,
string
>
>
>
,
ZodTransform
<
string
[]
,
string
[]
>
,
>
;
approved
:
ZodLiteral
<
true
>
;
cdp_endpoint
:
ZodPipe
<
ZodString
,
ZodTransform
<
string
,
string
>
>
;
maximum_image_bytes
:
ZodDefault
<
ZodNumber
>
;
screenshot_approved
:
ZodLiteral
<
true
>
;
target_id
:
ZodString
;
}
,
$strip
,
>
;
kind
:
"browser-provider"
;
name
:
"capture_web_screenshot"
;
outputSchema
:
ZodObject
<
{
analysis_profile
:
ZodOptional
<
ZodObject
<
{
digest
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
provider
:
ZodObject
<
{
id
:
ZodString
;
name
:
ZodString
;
version
:
ZodString
}
,
$strip
,
>
;
provider_profile_schema_version
:
ZodNumber
;
schema_version
:
ZodLiteral
<
1
>
;
}
,
$strip
,
>
,
>
;
authority
:
ZodEnum
<
{
"analyst-inference"
:
"analyst-inference"
;
"controlled-replay"
:
"controlled-replay"
;
"external-service"
:
"external-service"
;
"historical-reference"
:
"historical-reference"
;
"shipped-artifact"
:
"shipped-artifact"
;
}
,
>
;
confidence
:
ZodEnum
<
{
derived
:
"derived"
;
inferred
:
"inferred"
;
observed
:
"observed"
}
,
>
;
environment
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodString
;
id
:
ZodString
;
isolation
:
ZodEnum
<
{
container
:
"container"
;
none
:
"none"
;
process
:
"process"
;
"virtual-machine"
:
"virtual-machine"
;
}
,
>
;
platform
:
ZodString
;
}
,
$strip
,
>
,
>
;
evidence_id
:
ZodString
;
evidence_links
:
ZodArray
<
ZodString
>
;
limitations
:
ZodArray
<
ZodString
>
;
locations
:
ZodArray
<
ZodDiscriminatedUnion
<
[
ZodObject
<
{
address
:
ZodString
;
kind
:
ZodLiteral
<
"address"
>
}
,
$strip
,
>
,
ZodObject
<
{
end
:
ZodString
;
kind
:
ZodLiteral
<
"address-range"
>
;
start
:
ZodString
;
}
,
$strip
,
>
,
ZodObject
<
{
kind
:
ZodLiteral
<
"artifact-path"
>
;
path
:
ZodString
}
,
$strip
,
>
,
ZodObject
<
{
kind
:
ZodLiteral
<
"file-offset"
>
;
offset
:
ZodNumber
}
,
$strip
,
>
,
ZodObject
<
{
end
:
ZodNumber
;
kind
:
ZodLiteral
<
"file-offset-range"
>
;
start
:
ZodNumber
;
}
,
$strip
,
>
,
]
,
"kind"
,
>
,
>
;
normalized_result
:
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
:
...
;
console_events
:
...
;
console_text
:
...
;
dom
:
...
;
frames
:
...
;
json_body_shapes
:
...
;
metadata
:
...
;
network_initiators
:
...
;
network_requests
:
...
;
resources
:
...
;
screenshot
:
...
;
script_sources
:
...
;
scripts
:
...
;
source_maps
:
...
;
storage
:
...
;
storage_keys
:
...
;
timeline
:
...
;
webmcp_tools
:
...
;
websocket_connections
:
...
;
websocket_frames
:
...
;
websocket_shapes
:
...
;
workers
:
...
;
}
,
>
,
>
;
conditions
:
ZodArray
<
ZodEnum
<
{
attach_limited
:
...
;
complete_within_window
:
...
;
policy_filtered
:
...
;
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
:
...
;
reason
:
...
;
section
:
...
}
,
$strip
>
,
>
;
policy_filtered_sections
:
ZodArray
<
ZodEnum
<
{
accessibility
:
...
;
console_events
:
...
;
console_text
:
...
;
dom
:
...
;
frames
:
...
;
json_body_shapes
:
...
;
metadata
:
...
;
network_initiators
:
...
;
network_requests
:
...
;
resources
:
...
;
screenshot
:
...
;
script_sources
:
...
;
scripts
:
...
;
source_maps
:
...
;
storage
:
...
;
storage_keys
:
...
;
timeline
:
...
;
webmcp_tools
:
...
;
websocket_connections
:
...
;
websocket_frames
:
...
;
websocket_shapes
:
...
;
workers
:
...
;
}
,
>
,
>
;
status
:
ZodEnum
<
{
attach_limited
:
"attach_limited"
;
complete_within_window
:
"complete_within_window"
;
policy_filtered
:
"policy_filtered"
;
truncated
:
"truncated"
;
}
,
>
;
truncated_sections
:
ZodArray
<
ZodEnum
<
{
accessibility
:
...
;
console_events
:
...
;
console_text
:
...
;
dom
:
...
;
frames
:
...
;
json_body_shapes
:
...
;
metadata
:
...
;
network_initiators
:
...
;
network_requests
:
...
;
resources
:
...
;
screenshot
:
...
;
script_sources
:
...
;
scripts
:
...
;
source_maps
:
...
;
storage
:
...
;
storage_keys
:
...
;
timeline
:
...
;
webmcp_tools
:
...
;
websocket_connections
:
...
;
websocket_frames
:
...
;
websocket_shapes
:
...
;
workers
:
...
;
}
,
>
,
>
;
unavailable_sections
:
ZodArray
<
ZodEnum
<
{
accessibility
:
...
;
console_events
:
...
;
console_text
:
...
;
dom
:
...
;
frames
:
...
;
json_body_shapes
:
...
;
metadata
:
...
;
network_initiators
:
...
;
network_requests
:
...
;
resources
:
...
;
screenshot
:
...
;
script_sources
:
...
;
scripts
:
...
;
source_maps
:
...
;
storage
:
...
;
storage_keys
:
...
;
timeline
:
...
;
webmcp_tools
:
...
;
websocket_connections
:
...
;
websocket_frames
:
...
;
websocket_shapes
:
...
;
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
,
>
;
operation
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
predicate_type
:
ZodString
;
provider
:
ZodObject
<
{
id
:
ZodString
;
name
:
ZodString
;
version
:
ZodNullable
<
ZodString
>
}
,
$strip
,
>
;
raw_result
:
ZodNullable
<
ZodJSONSchema
>
;
schema_version
:
ZodLiteral
<
2
>
;
subject
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodNullable
<
ZodEnum
<
{
arm
:
"arm"
;
arm64
:
"arm64"
;
x86
:
"x86"
;
x86_64
:
"x86_64"
}
,
>
,
>
;
digest
:
ZodObject
<
{
sha256
:
ZodString
}
,
$strip
>
;
format
:
ZodEnum
<
{
"analysis-database"
:
"analysis-database"
;
apk
:
"apk"
;
asar
:
"asar"
;
directory
:
"directory"
;
dmg
:
"dmg"
;
elf
:
"elf"
;
entitlements
:
"entitlements"
;
file
:
"file"
;
hopper
:
"hopper"
;
ipa
:
"ipa"
;
javascript
:
"javascript"
;
"javascript-bundle"
:
"javascript-bundle"
;
"mach-o"
:
"mach-o"
;
"mach-o-universal"
:
"mach-o-universal"
;
pe
:
"pe"
;
pkg
:
"pkg"
;
plist
:
"plist"
;
"source-map"
:
"source-map"
;
unknown
:
"unknown"
;
zip
:
"zip"
;
}
,
>
;
local_path
:
ZodString
;
name
:
ZodString
;
}
,
$strip
,
>
,
>
;
}
,
$strict
,
>
;
}
,
{
annotations
:
{
destructiveHint
:
false
;
idempotentHint
:
true
;
openWorldHint
:
false
;
readOnlyHint
:
true
;
}
;
description
:
"Compare two self-verifying PNG screenshot artifacts with bounded local pixel metrics. Returns exact changed-pixel ratios and channel deltas without OCR or external services."
;
examples
:
readonly
[
{
input
:
{
after
:
{
bytes
:
number
;
data_base64
:
string
;
media_type
:
string
;
sha256
:
string
;
uri
:
string
;
}
;
before
:
{
bytes
:
number
;
data_base64
:
string
;
media_type
:
string
;
sha256
:
string
;
uri
:
string
;
}
;
channel_threshold
:
0
;
maximum_pixels
:
16000000
;
}
;
title
:
"Compare two screenshot artifacts"
;
}
,
]
;
inputSchema
:
ZodObject
<
{
after
:
ZodObject
<
{
bytes
:
ZodNumber
;
data_base64
:
ZodString
;
media_type
:
ZodLiteral
<
"image/png"
>
;
sha256
:
ZodString
;
uri
:
ZodString
;
}
,
$strip
,
>
;
before
:
ZodObject
<
{
bytes
:
ZodNumber
;
data_base64
:
ZodString
;
media_type
:
ZodLiteral
<
"image/png"
>
;
sha256
:
ZodString
;
uri
:
ZodString
;
}
,
$strip
,
>
;
channel_threshold
:
ZodDefault
<
ZodNumber
>
;
maximum_pixels
:
ZodDefault
<
ZodNumber
>
;
}
,
$strip
,
>
;
kind
:
"browser-provider"
;
name
:
"compare_web_screenshots"
;
outputSchema
:
ZodObject
<
{
analysis_profile
:
ZodOptional
<
ZodObject
<
{
digest
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
provider
:
ZodObject
<
{
id
:
ZodString
;
name
:
ZodString
;
version
:
ZodString
}
,
$strip
,
>
;
provider_profile_schema_version
:
ZodNumber
;
schema_version
:
ZodLiteral
<
1
>
;
}
,
$strip
,
>
,
>
;
authority
:
ZodEnum
<
{
"analyst-inference"
:
"analyst-inference"
;
"controlled-replay"
:
"controlled-replay"
;
"external-service"
:
"external-service"
;
"historical-reference"
:
"historical-reference"
;
"shipped-artifact"
:
"shipped-artifact"
;
}
,
>
;
confidence
:
ZodEnum
<
{
derived
:
"derived"
;
inferred
:
"inferred"
;
observed
:
"observed"
}
,
>
;
environment
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodString
;
id
:
ZodString
;
isolation
:
ZodEnum
<
{
container
:
"container"
;
none
:
"none"
;
process
:
"process"
;
"virtual-machine"
:
"virtual-machine"
;
}
,
>
;
platform
:
ZodString
;
}
,
$strip
,
>
,
>
;
evidence_id
:
ZodString
;
evidence_links
:
ZodArray
<
ZodString
>
;
limitations
:
ZodArray
<
ZodString
>
;
locations
:
ZodArray
<
ZodDiscriminatedUnion
<
[
ZodObject
<
{
address
:
ZodString
;
kind
:
ZodLiteral
<
"address"
>
}
,
$strip
,
>
,
ZodObject
<
{
end
:
ZodString
;
kind
:
ZodLiteral
<
"address-range"
>
;
start
:
ZodString
;
}
,
$strip
,
>
,
ZodObject
<
{
kind
:
ZodLiteral
<
"artifact-path"
>
;
path
:
ZodString
}
,
$strip
,
>
,
ZodObject
<
{
kind
:
ZodLiteral
<
"file-offset"
>
;
offset
:
ZodNumber
}
,
$strip
,
>
,
ZodObject
<
{
end
:
ZodNumber
;
kind
:
ZodLiteral
<
"file-offset-range"
>
;
start
:
ZodNumber
;
}
,
$strip
,
>
,
]
,
"kind"
,
>
,
>
;
normalized_result
:
ZodObject
<
{
after
:
ZodObject
<
{
height
:
ZodNumber
;
width
:
ZodNumber
}
,
$strip
>
;
before
:
ZodObject
<
{
height
:
ZodNumber
;
width
:
ZodNumber
}
,
$strip
>
;
changed_pixels
:
ZodNullable
<
ZodNumber
>
;
changed_ratio
:
ZodNullable
<
ZodNumber
>
;
channel_threshold
:
ZodNumber
;
compared_pixels
:
ZodNumber
;
limitations
:
ZodArray
<
ZodString
>
;
maximum_channel_delta
:
ZodNullable
<
ZodNumber
>
;
mean_absolute_channel_delta
:
ZodNullable
<
ZodNumber
>
;
schema_version
:
ZodLiteral
<
1
>
;
status
:
ZodEnum
<
{
different
:
"different"
;
dimension_mismatch
:
"dimension_mismatch"
;
identical
:
"identical"
;
}
,
>
;
}
,
$strip
,
>
;
operation
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
predicate_type
:
ZodString
;
provider
:
ZodObject
<
{
id
:
ZodString
;
name
:
ZodString
;
version
:
ZodNullable
<
ZodString
>
}
,
$strip
,
>
;
raw_result
:
ZodNullable
<
ZodJSONSchema
>
;
schema_version
:
ZodLiteral
<
2
>
;
subject
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodNullable
<
ZodEnum
<
{
arm
:
"arm"
;
arm64
:
"arm64"
;
x86
:
"x86"
;
x86_64
:
"x86_64"
}
,
>
,
>
;
digest
:
ZodObject
<
{
sha256
:
ZodString
}
,
$strip
>
;
format
:
ZodEnum
<
{
"analysis-database"
:
"analysis-database"
;
apk
:
"apk"
;
asar
:
"asar"
;
directory
:
"directory"
;
dmg
:
"dmg"
;
elf
:
"elf"
;
entitlements
:
"entitlements"
;
file
:
"file"
;
hopper
:
"hopper"
;
ipa
:
"ipa"
;
javascript
:
"javascript"
;
"javascript-bundle"
:
"javascript-bundle"
;
"mach-o"
:
"mach-o"
;
"mach-o-universal"
:
"mach-o-universal"
;
pe
:
"pe"
;
pkg
:
"pkg"
;
plist
:
"plist"
;
"source-map"
:
"source-map"
;
unknown
:
"unknown"
;
zip
:
"zip"
;
}
,
>
;
local_path
:
ZodString
;
name
:
ZodString
;
}
,
$strip
,
>
,
>
;
}
,
$strict
,
>
;
}
,
{
annotations
:
{
destructiveHint
:
false
;
idempotentHint
:
true
;
openWorldHint
:
true
;
readOnlyHint
:
true
;
}
;
description
:
"List Electron file:// page targets from an approved user-owned loopback CDP endpoint. Every path is canonicalized and must remain contained by an approved filesystem root, including after symlink resolution."
;
examples
:
readonly
[
{
input
:
{
allowed_file_roots
:
[
"/Applications/Example.app/Contents/Resources"
]
;
approved
:
true
;
cdp_endpoint
:
"http://127.0.0.1:9223"
;
limit
:
100
;
offset
:
0
;
}
;
title
:
"List approved Electron file pages"
;
}
,
]
;
inputSchema
:
ZodObject
<
{
allowed_file_roots
:
ZodPipe
<
ZodArray
<
ZodString
>
,
ZodTransform
<
string
[]
,
string
[]
>
,
>
;
approved
:
ZodLiteral
<
true
>
;
cdp_endpoint
:
ZodPipe
<
ZodString
,
ZodTransform
<
string
,
string
>
>
;
limit
:
ZodDefault
<
ZodNumber
>
;
offset
:
ZodDefault
<
ZodNumber
>
;
}
,
$strip
,
>
;
kind
:
"electron-provider"
;
name
:
"list_electron_targets"
;
outputSchema
:
ZodObject
<
{
analysis_profile
:
ZodOptional
<
ZodObject
<
{
digest
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
provider
:
ZodObject
<
{
id
:
ZodString
;
name
:
ZodString
;
version
:
ZodString
}
,
$strip
,
>
;
provider_profile_schema_version
:
ZodNumber
;
schema_version
:
ZodLiteral
<
1
>
;
}
,
$strip
,
>
,
>
;
authority
:
ZodEnum
<
{
"analyst-inference"
:
"analyst-inference"
;
"controlled-replay"
:
"controlled-replay"
;
"external-service"
:
"external-service"
;
"historical-reference"
:
"historical-reference"
;
"shipped-artifact"
:
"shipped-artifact"
;
}
,
>
;
confidence
:
ZodEnum
<
{
derived
:
"derived"
;
inferred
:
"inferred"
;
observed
:
"observed"
}
,
>
;
environment
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodString
;
id
:
ZodString
;
isolation
:
ZodEnum
<
{
container
:
"container"
;
none
:
"none"
;
process
:
"process"
;
"virtual-machine"
:
"virtual-machine"
;
}
,
>
;
platform
:
ZodString
;
}
,
$strip
,
>
,
>
;
evidence_id
:
ZodString
;
evidence_links
:
ZodArray
<
ZodString
>
;
limitations
:
ZodArray
<
ZodString
>
;
locations
:
ZodArray
<
ZodDiscriminatedUnion
<
[
ZodObject
<
{
address
:
ZodString
;
kind
:
ZodLiteral
<
"address"
>
}
,
$strip
,
>
,
ZodObject
<
{
end
:
ZodString
;
kind
:
ZodLiteral
<
"address-range"
>
;
start
:
ZodString
;
}
,
$strip
,
>
,
ZodObject
<
{
kind
:
ZodLiteral
<
"artifact-path"
>
;
path
:
ZodString
}
,
$strip
,
>
,
ZodObject
<
{
kind
:
ZodLiteral
<
"file-offset"
>
;
offset
:
ZodNumber
}
,
$strip
,
>
,
ZodObject
<
{
end
:
ZodNumber
;
kind
:
ZodLiteral
<
"file-offset-range"
>
;
start
:
ZodNumber
;
}
,
$strip
,
>
,
]
,
"kind"
,
>
,
>
;
normalized_result
:
ZodObject
<
{
browser
:
ZodObject
<
{
js_version
:
ZodString
;
product
:
ZodString
;
protocol_version
:
ZodString
;
revision
:
ZodString
;
user_agent
:
ZodString
;
}
,
$strip
,
>
;
excluded
:
ZodObject
<
{
non_page
:
ZodNumber
;
outside_root
:
ZodNumber
;
unsupported_url
:
ZodNumber
;
}
,
$strip
,
>
;
limitations
:
ZodArray
<
ZodString
>
;
schema_version
:
ZodLiteral
<
1
>
;
targets
:
ZodObject
<
{
has_more
:
ZodBoolean
;
items
:
ZodArray
<
ZodObject
<
{
attached
:
...
;
file_path
:
...
;
target_id
:
...
;
title
:
...
;
type
:
...
;
}
,
$strip
,
>
,
>
;
limit
:
ZodNumber
;
next_offset
:
ZodNullable
<
ZodNumber
>
;
offset
:
ZodNumber
;
total
:
ZodNumber
;
}
,
$strip
,
>
;
}
,
$strip
,
>
;
operation
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
predicate_type
:
ZodString
;
provider
:
ZodObject
<
{
id
:
ZodString
;
name
:
ZodString
;
version
:
ZodNullable
<
ZodString
>
}
,
$strip
,
>
;
raw_result
:
ZodNullable
<
ZodJSONSchema
>
;
schema_version
:
ZodLiteral
<
2
>
;
subject
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodNullable
<
ZodEnum
<
{
arm
:
"arm"
;
arm64
:
"arm64"
;
x86
:
"x86"
;
x86_64
:
"x86_64"
}
,
>
,
>
;
digest
:
ZodObject
<
{
sha256
:
ZodString
}
,
$strip
>
;
format
:
ZodEnum
<
{
"analysis-database"
:
"analysis-database"
;
apk
:
"apk"
;
asar
:
"asar"
;
directory
:
"directory"
;
dmg
:
"dmg"
;
elf
:
"elf"
;
entitlements
:
"entitlements"
;
file
:
"file"
;
hopper
:
"hopper"
;
ipa
:
"ipa"
;
javascript
:
"javascript"
;
"javascript-bundle"
:
"javascript-bundle"
;
"mach-o"
:
"mach-o"
;
"mach-o-universal"
:
"mach-o-universal"
;
pe
:
"pe"
;
pkg
:
"pkg"
;
plist
:
"plist"
;
"source-map"
:
"source-map"
;
unknown
:
"unknown"
;
zip
:
"zip"
;
}
,
>
;
local_path
:
ZodString
;
name
:
ZodString
;
}
,
$strip
,
>
,
>
;
}
,
$strict
,
>
;
}
,
{
annotations
:
{
destructiveHint
:
false
;
idempotentHint
:
true
;
openWorldHint
:
true
;
readOnlyHint
:
true
;
}
;
description
:
"Passively inspect one approved Electron file page through CDP. Returns root-confined frames, DOM structure, resource paths, and scripts without evaluating renderer JavaScript or invoking Electron APIs; script contents require separate approval."
;
examples
:
readonly
[
{
input
:
{
allowed_file_roots
:
[
"/Applications/Example.app/Contents/Resources"
]
;
approved
:
true
;
cdp_endpoint
:
"http://127.0.0.1:9223"
;
include_script_sources
:
false
;
limits
:
{
max_dom_nodes
:
2000
;
max_frames
:
200
;
max_resources
:
2000
;
max_script_source_bytes
:
1048576
;
max_scripts
:
500
;
max_total_script_source_bytes
:
4194304
;
max_workers
:
500
;
}
;
observation_ms
:
100
;
source_capture_approved
:
false
;
target_id
:
"TARGET_ID_FROM_LIST_ELECTRON_TARGETS"
;
}
;
title
:
"Inspect an approved Electron page"
;
}
,
]
;
inputSchema
:
ZodObject
<
{
allowed_file_roots
:
ZodPipe
<
ZodArray
<
ZodString
>
,
ZodTransform
<
string
[]
,
string
[]
>
,
>
;
approved
:
ZodLiteral
<
true
>
;
cdp_endpoint
:
ZodPipe
<
ZodString
,
ZodTransform
<
string
,
string
>
>
;
include_script_sources
:
ZodDefault
<
ZodBoolean
>
;
limits
:
ZodDefault
<
ZodObject
<
{
max_dom_nodes
:
ZodDefault
<
ZodNumber
>
;
max_frames
:
ZodDefault
<
ZodNumber
>
;
max_resources
:
ZodDefault
<
ZodNumber
>
;
max_script_source_bytes
:
ZodDefault
<
ZodNumber
>
;
max_scripts
:
ZodDefault
<
ZodNumber
>
;
max_total_script_source_bytes
:
ZodDefault
<
ZodNumber
>
;
max_workers
:
ZodDefault
<
ZodNumber
>
;
}
,
$strip
,
>
,
>
;
observation_ms
:
ZodDefault
<
ZodNumber
>
;
source_capture_approved
:
ZodDefault
<
ZodBoolean
>
;
target_id
:
ZodString
;
}
,
$strip
,
>
;
kind
:
"electron-provider"
;
name
:
"inspect_electron_page"
;
outputSchema
:
ZodObject
<
{
analysis_profile
:
ZodOptional
<
ZodObject
<
{
digest
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
provider
:
ZodObject
<
{
id
:
ZodString
;
name
:
ZodString
;
version
:
ZodString
}
,
$strip
,
>
;
provider_profile_schema_version
:
ZodNumber
;
schema_version
:
ZodLiteral
<
1
>
;
}
,
$strip
,
>
,
>
;
authority
:
ZodEnum
<
{
"analyst-inference"
:
"analyst-inference"
;
"controlled-replay"
:
"controlled-replay"
;
"external-service"
:
"external-service"
;
"historical-reference"
:
"historical-reference"
;
"shipped-artifact"
:
"shipped-artifact"
;
}
,
>
;
confidence
:
ZodEnum
<
{
derived
:
"derived"
;
inferred
:
"inferred"
;
observed
:
"observed"
}
,
>
;
environment
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodString
;
id
:
ZodString
;
isolation
:
ZodEnum
<
{
container
:
"container"
;
none
:
"none"
;
process
:
"process"
;
"virtual-machine"
:
"virtual-machine"
;
}
,
>
;
platform
:
ZodString
;
}
,
$strip
,
>
,
>
;
evidence_id
:
ZodString
;
evidence_links
:
ZodArray
<
ZodString
>
;
limitations
:
ZodArray
<
ZodString
>
;
locations
:
ZodArray
<
ZodDiscriminatedUnion
<
[
ZodObject
<
{
address
:
ZodString
;
kind
:
ZodLiteral
<
"address"
>
}
,
$strip
,
>
,
ZodObject
<
{
end
:
ZodString
;
kind
:
ZodLiteral
<
"address-range"
>
;
start
:
ZodString
;
}
,
$strip
,
>
,
ZodObject
<
{
kind
:
ZodLiteral
<
"artifact-path"
>
;
path
:
ZodString
}
,
$strip
,
>
,
ZodObject
<
{
kind
:
ZodLiteral
<
"file-offset"
>
;
offset
:
ZodNumber
}
,
$strip
,
>
,
ZodObject
<
{
end
:
ZodNumber
;
kind
:
ZodLiteral
<
"file-offset-range"
>
;
start
:
ZodNumber
;
}
,
$strip
,
>
,
]
,
"kind"
,
>
,
>
;
normalized_result
:
ZodObject
<
{
browser
:
ZodObject
<
{
js_version
:
ZodString
;
product
:
ZodString
;
protocol_version
:
ZodString
;
revision
:
ZodString
;
user_agent
:
ZodString
;
}
,
$strip
,
>
;
capture_window
:
ZodObject
<
{
ended_at
:
ZodISODateTime
;
observation_ms
:
ZodNumber
;
started_at
:
ZodISODateTime
;
}
,
$strip
,
>
;
completeness
:
ZodObject
<
{
attach_limited_sections
:
ZodArray
<
ZodEnum
<
{
accessibility
:
...
;
console_events
:
...
;
console_text
:
...
;
dom
:
...
;
frames
:
...
;
json_body_shapes
:
...
;
metadata
:
...
;
network_initiators
:
...
;
network_requests
:
...
;
resources
:
...
;
screenshot
:
...
;
script_sources
:
...
;
scripts
:
...
;
source_maps
:
...
;
storage
:
...
;
storage_keys
:
...
;
timeline
:
...
;
webmcp_tools
:
...
;
websocket_connections
:
...
;
websocket_frames
:
...
;
websocket_shapes
:
...
;
workers
:
...
;
}
,
>
,
>
;
conditions
:
ZodArray
<
ZodEnum
<
{
attach_limited
:
...
;
complete_within_window
:
...
;
policy_filtered
:
...
;
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
:
...
;
reason
:
...
;
section
:
...
}
,
$strip
>
,
>
;
policy_filtered_sections
:
ZodArray
<
ZodEnum
<
{
accessibility
:
...
;
console_events
:
...
;
console_text
:
...
;
dom
:
...
;
frames
:
...
;
json_body_shapes
:
...
;
metadata
:
...
;
network_initiators
:
...
;
network_requests
:
...
;
resources
:
...
;
screenshot
:
...
;
script_sources
:
...
;
scripts
:
...
;
source_maps
:
...
;
storage
:
...
;
storage_keys
:
...
;
timeline
:
...
;
webmcp_tools
:
...
;
websocket_connections
:
...
;
websocket_frames
:
...
;
websocket_shapes
:
...
;
workers
:
...
;
}
,
>
,
>
;
status
:
ZodEnum
<
{
attach_limited
:
"attach_limited"
;
complete_within_window
:
"complete_within_window"
;
policy_filtered
:
"policy_filtered"
;
truncated
:
"truncated"
;
}
,
>
;
truncated_sections
:
ZodArray
<
ZodEnum
<
{
accessibility
:
...
;
console_events
:
...
;
console_text
:
...
;
dom
:
...
;
frames
:
...
;
json_body_shapes
:
...
;
metadata
:
...
;
network_initiators
:
...
;
network_requests
:
...
;
resources
:
...
;
screenshot
:
...
;
script_sources
:
...
;
scripts
:
...
;
source_maps
:
...
;
storage
:
...
;
storage_keys
:
...
;
timeline
:
...
;
webmcp_tools
:
...
;
websocket_connections
:
...
;
websocket_frames
:
...
;
websocket_shapes
:
...
;
workers
:
...
;
}
,
>
,
>
;
unavailable_sections
:
ZodArray
<
ZodEnum
<
{
accessibility
:
...
;
console_events
:
...
;
console_text
:
...
;
dom
:
...
;
frames
:
...
;
json_body_shapes
:
...
;
metadata
:
...
;
network_initiators
:
...
;
network_requests
:
...
;
resources
:
...
;
screenshot
:
...
;
script_sources
:
...
;
scripts
:
...
;
source_maps
:
...
;
storage
:
...
;
storage_keys
:
...
;
timeline
:
...
;
webmcp_tools
:
...
;
websocket_connections
:
...
;
websocket_frames
:
...
;
websocket_shapes
:
...
;
workers
:
...
;
}
,
>
,
>
;
}
,
$strip
,
>
;
dom
:
ZodObject
<
{
nodes
:
ZodArray
<
ZodObject
<
{
attribute_names
:
...
;
index
:
...
;
node_name
:
...
;
node_type
:
...
;
node_value_length
:
...
;
parent_index
:
...
;
}
,
$strip
,
>
,
>
;
total_nodes
:
ZodNumber
;
}
,
$strip
,
>
;
frames
:
ZodArray
<
ZodObject
<
{
file_path
:
ZodString
;
frame_id
:
ZodString
;
parent_frame_id
:
ZodNullable
<
ZodString
>
;
}
,
$strip
,
>
,
>
;
limitations
:
ZodArray
<
ZodString
>
;
resources
:
ZodArray
<
ZodObject
<
{
content_size
:
ZodNullable
<
ZodNumber
>
;
file_path
:
ZodString
;
mime_type
:
ZodString
;
resource_key
:
ZodString
;
type
:
ZodString
;
}
,
$strip
,
>
,
>
;
schema_version
:
ZodLiteral
<
1
>
;
scripts
:
ZodObject
<
{
items
:
ZodArray
<
ZodObject
<
{
cdp_hash
:
...
;
file_path
:
...
;
frame_id
:
...
;
is_module
:
...
;
language
:
...
;
length
:
...
;
script_key
:
...
;
source
:
...
;
}
,
$strip
,
>
,
>
;
total
:
ZodNumber
;
}
,
$strip
,
>
;
target
:
ZodObject
<
{
attached
:
ZodBoolean
;
file_path
:
ZodString
;
target_id
:
ZodString
;
title
:
ZodString
;
type
:
ZodString
;
}
,
$strip
,
>
;
workers
:
ZodDefault
<
ZodArray
<
ZodObject
<
{
attached
:
ZodBoolean
;
file_path
:
ZodString
;
opener_target_id
:
ZodNullable
<
(...)
>
;
parent_frame_id
:
ZodNullable
<
(...)
>
;
target_id
:
ZodString
;
type
:
ZodString
;
}
,
$strip
,
>
,
>
,
>
;
}
,
$strip
,
>
;
operation
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
predicate_type
:
ZodString
;
provider
:
ZodObject
<
{
id
:
ZodString
;
name
:
ZodString
;
version
:
ZodNullable
<
ZodString
>
}
,
$strip
,
>
;
raw_result
:
ZodNullable
<
ZodJSONSchema
>
;
schema_version
:
ZodLiteral
<
2
>
;
subject
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodNullable
<
ZodEnum
<
{
arm
:
"arm"
;
arm64
:
"arm64"
;
x86
:
"x86"
;
x86_64
:
"x86_64"
}
,
>
,
>
;
digest
:
ZodObject
<
{
sha256
:
ZodString
}
,
$strip
>
;
format
:
ZodEnum
<
{
"analysis-database"
:
"analysis-database"
;
apk
:
"apk"
;
asar
:
"asar"
;
directory
:
"directory"
;
dmg
:
"dmg"
;
elf
:
"elf"
;
entitlements
:
"entitlements"
;
file
:
"file"
;
hopper
:
"hopper"
;
ipa
:
"ipa"
;
javascript
:
"javascript"
;
"javascript-bundle"
:
"javascript-bundle"
;
"mach-o"
:
"mach-o"
;
"mach-o-universal"
:
"mach-o-universal"
;
pe
:
"pe"
;
pkg
:
"pkg"
;
plist
:
"plist"
;
"source-map"
:
"source-map"
;
unknown
:
"unknown"
;
zip
:
"zip"
;
}
,
>
;
local_path
:
ZodString
;
name
:
ZodString
;
}
,
$strip
,
>
,
>
;
}
,
$strict
,
>
;
}
,
{
annotations
:
{
destructiveHint
:
false
;
idempotentHint
:
true
;
openWorldHint
:
false
;
readOnlyHint
:
true
;
}
;
description
:
"Statically reconstruct one approved local ASAR or extracted JavaScript application as Evidence v2 and JavaScript Application Graph v1. Maps BrowserWindow preferences, preload and contextBridge APIs, literal and dynamic IPC, handler locations, sender-validation observations, utility processes, and requested native addon bindings without executing JavaScript; source-map contents require separate approval."
;
examples
:
readonly
[
{
input
:
{
approved
:
true
;
format
:
"auto"
;
input_path
:
"/Applications/Example.app/Contents/Resources/app.asar"
;
source_map_read_approved
:
false
;
}
;
title
:
"Analyze one approved local Electron application"
;
}
,
]
;
inputSchema
:
ZodObject
<
{
approved
:
ZodLiteral
<
true
>
;
format
:
ZodDefault
<
ZodEnum
<
{
asar
:
"asar"
;
auto
:
"auto"
;
directory
:
"directory"
}
>
,
>
;
input_path
:
ZodString
;
limits
:
ZodDefault
<
ZodObject
<
{
max_artifact_entry_bytes
:
ZodDefault
<
ZodNumber
>
;
max_ast_nodes
:
ZodDefault
<
ZodNumber
>
;
max_compression_ratio
:
ZodDefault
<
ZodNumber
>
;
max_depth
:
ZodDefault
<
ZodNumber
>
;
max_entries
:
ZodDefault
<
ZodNumber
>
;
max_findings
:
ZodDefault
<
ZodNumber
>
;
max_modules
:
ZodDefault
<
ZodNumber
>
;
max_parse_milliseconds
:
ZodDefault
<
ZodNumber
>
;
max_path_bytes
:
ZodDefault
<
ZodNumber
>
;
max_source_map_sources
:
ZodDefault
<
ZodNumber
>
;
max_text_file_bytes
:
ZodDefault
<
ZodNumber
>
;
max_text_files
:
ZodDefault
<
ZodNumber
>
;
max_total_artifact_bytes
:
ZodDefault
<
ZodNumber
>
;
max_total_text_bytes
:
ZodDefault
<
ZodNumber
>
;
}
,
$strict
,
>
,
>
;
source_map_read_approved
:
ZodDefault
<
ZodBoolean
>
;
}
,
$strict
,
>
;
kind
:
"electron-provider"
;
name
:
"analyze_javascript_application"
;
outputSchema
:
ZodObject
<
{
analysis_profile
:
ZodOptional
<
ZodObject
<
{
digest
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
provider
:
ZodObject
<
{
id
:
ZodString
;
name
:
ZodString
;
version
:
ZodString
}
,
$strip
,
>
;
provider_profile_schema_version
:
ZodNumber
;
schema_version
:
ZodLiteral
<
1
>
;
}
,
$strip
,
>
,
>
;
authority
:
ZodEnum
<
{
"analyst-inference"
:
"analyst-inference"
;
"controlled-replay"
:
"controlled-replay"
;
"external-service"
:
"external-service"
;
"historical-reference"
:
"historical-reference"
;
"shipped-artifact"
:
"shipped-artifact"
;
}
,
>
;
confidence
:
ZodEnum
<
{
derived
:
"derived"
;
inferred
:
"inferred"
;
observed
:
"observed"
}
,
>
;
environment
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodString
;
id
:
ZodString
;
isolation
:
ZodEnum
<
{
container
:
"container"
;
none
:
"none"
;
process
:
"process"
;
"virtual-machine"
:
"virtual-machine"
;
}
,
>
;
platform
:
ZodString
;
}
,
$strip
,
>
,
>
;
evidence_id
:
ZodString
;
evidence_links
:
ZodArray
<
ZodString
>
;
limitations
:
ZodArray
<
ZodString
>
;
locations
:
ZodArray
<
ZodDiscriminatedUnion
<
[
ZodObject
<
{
address
:
ZodString
;
kind
:
ZodLiteral
<
"address"
>
}
,
$strip
,
>
,
ZodObject
<
{
end
:
ZodString
;
kind
:
ZodLiteral
<
"address-range"
>
;
start
:
ZodString
;
}
,
$strip
,
>
,
ZodObject
<
{
kind
:
ZodLiteral
<
"artifact-path"
>
;
path
:
ZodString
}
,
$strip
,
>
,
ZodObject
<
{
kind
:
ZodLiteral
<
"file-offset"
>
;
offset
:
ZodNumber
}
,
$strip
,
>
,
ZodObject
<
{
end
:
ZodNumber
;
kind
:
ZodLiteral
<
"file-offset-range"
>
;
start
:
ZodNumber
;
}
,
$strip
,
>
,
]
,
"kind"
,
>
,
>
;
normalized_result
:
ZodObject
<
{
format
:
ZodEnum
<
{
asar
:
"asar"
;
directory
:
"directory"
}
>
;
graph
:
ZodObject
<
{
coverage
:
ZodObject
<
{
limits
:
ZodArray
<
(...)
>
;
omitted_count
:
ZodNullable
<
(...)
>
;
status
:
ZodEnum
<
(...)
>
;
truncated
:
ZodBoolean
;
}
,
$strict
,
>
;
edges
:
ZodArray
<
ZodObject
<
{
edge_id
:
...
;
evidence
:
...
;
identifier_strategy
:
...
;
properties
:
...
;
relation
:
...
;
source_node_id
:
...
;
target_node_id
:
...
;
}
,
$strict
,
>
,
>
;
graph_id
:
ZodString
;
limitations
:
ZodArray
<
ZodString
>
;
nodes
:
ZodArray
<
ZodObject
<
{
identity
:
...
;
kind
:
...
;
node_id
:
...
;
observations
:
...
}
,
$strict
,
>
,
>
;
root_node_ids
:
ZodArray
<
ZodString
>
;
schema
:
ZodLiteral
<
"JavaScriptApplicationGraph"
>
;
schema_version
:
ZodLiteral
<
1
>
;
}
,
$strict
,
>
;
input_path
:
ZodString
;
inventory_graph_sha256
:
ZodString
;
inventory_manifest_id
:
ZodString
;
limitations
:
ZodArray
<
ZodString
>
;
root_artifact_sha256
:
ZodString
;
schema_version
:
ZodLiteral
<
1
>
;
statistics
:
ZodObject
<
{
findings
:
ZodNumber
;
invalid_utf8_files
:
ZodNumber
;
limit_omitted_text_files
:
ZodNumber
;
modules
:
ZodNumber
;
nested_asar_containers
:
ZodNumber
;
omitted_text_files
:
ZodNumber
;
parse_failures
:
ZodNumber
;
parsed_javascript_files
:
ZodNumber
;
policy_filtered_text_files
:
ZodNumber
;
relevant_files
:
ZodNumber
;
text_bytes_read
:
ZodNumber
;
text_files_selected
:
ZodNumber
;
truncated_scopes
:
ZodNumber
;
visited_ast_nodes
:
ZodNumber
;
}
,
$strict
,
>
;
summary
:
ZodObject
<
{
browser_windows
:
ZodNumber
;
context_bridge_apis
:
ZodNumber
;
explicit_web_preferences
:
ZodNumber
;
exposed_api_members
:
ZodNumber
;
ipc
:
ZodObject
<
{
ambiguous_renderer_transmissions
:
ZodNumber
;
dynamic_channel_operations
:
ZodNumber
;
literal_channels
:
ZodNumber
;
main_handlers
:
ZodNumber
;
operations
:
ZodNumber
;
paired_renderer_transmissions
:
ZodNumber
;
renderer_listeners
:
ZodNumber
;
renderer_transmissions
:
ZodNumber
;
unpaired_literal_renderer_transmissions
:
ZodNumber
;
}
,
$strict
,
>
;
native_addon_bindings
:
ZodNumber
;
preload_entrypoints
:
ZodNumber
;
resolved_native_addon_bindings
:
ZodNumber
;
resolved_utility_entrypoints
:
ZodNumber
;
sender_validation_observations
:
ZodNumber
;
utility_processes
:
ZodNumber
;
}
,
$strict
,
>
;
}
,
$strict
,
>
;
operation
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
predicate_type
:
ZodString
;
provider
:
ZodObject
<
{
id
:
ZodString
;
name
:
ZodString
;
version
:
ZodNullable
<
ZodString
>
}
,
$strip
,
>
;
raw_result
:
ZodNullable
<
ZodJSONSchema
>
;
schema_version
:
ZodLiteral
<
2
>
;
subject
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodNullable
<
ZodEnum
<
{
arm
:
"arm"
;
arm64
:
"arm64"
;
x86
:
"x86"
;
x86_64
:
"x86_64"
}
,
>
,
>
;
digest
:
ZodObject
<
{
sha256
:
ZodString
}
,
$strip
>
;
format
:
ZodEnum
<
{
"analysis-database"
:
"analysis-database"
;
apk
:
"apk"
;
asar
:
"asar"
;
directory
:
"directory"
;
dmg
:
"dmg"
;
elf
:
"elf"
;
entitlements
:
"entitlements"
;
file
:
"file"
;
hopper
:
"hopper"
;
ipa
:
"ipa"
;
javascript
:
"javascript"
;
"javascript-bundle"
:
"javascript-bundle"
;
"mach-o"
:
"mach-o"
;
"mach-o-universal"
:
"mach-o-universal"
;
pe
:
"pe"
;
pkg
:
"pkg"
;
plist
:
"plist"
;
"source-map"
:
"source-map"
;
unknown
:
"unknown"
;
zip
:
"zip"
;
}
,
>
;
local_path
:
ZodString
;
name
:
ZodString
;
}
,
$strip
,
>
,
>
;
}
,
$strict
,
>
;
}
,
{
annotations
:
{
destructiveHint
:
false
;
idempotentHint
:
true
;
openWorldHint
:
false
;
readOnlyHint
:
true
;
}
;
description
:
"Reconcile verified static JavaScript application graphs with existing passive web or Electron CDP Evidence. Exact captured-source digests take priority over caller-declared file/URL mappings; target, frame, script, and worker ambiguity remains explicit, and source-map authority stays separate."
;
examples
:
readonly
[
{
input
:
{
runtime_observations
:
(
|
{
analysis_profile
:
{
digest
:
string
;
parameters
:
Record
<
string
,
JSONType
>
;
provider
:
{
id
:
string
;
name
:
string
;
version
:
string
}
;
provider_profile_schema_version
:
number
;
schema_version
:
1
;
}
;
authority
:
|
"shipped-artifact"
|
"controlled-replay"
|
"historical-reference"
|
"external-service"
|
"analyst-inference"
;
confidence
:
"observed"
|
"derived"
|
"inferred"
;
environment
:
|
{
architecture
:
string
;
id
:
string
;
isolation
:
(...)
|
(...)
|
(...)
|
(...)
;
platform
:
string
;
}
|
null
;
evidence_id
:
string
;
evidence_links
:
string
[]
;
limitations
:
string
[]
;
locations
:
(
|
{
address
:
...
;
kind
:
...
}
|
{
end
:
...
;
kind
:
...
;
start
:
...
}
|
{
kind
:
...
;
path
:
...
}
|
{
kind
:
...
;
offset
:
...
}
|
{
end
:
...
;
kind
:
...
;
start
:
...
}
)
[]
;
normalized_result
:
JSONType
;
operation
:
string
;
parameters
:
Record
<
string
,
JSONType
>
;
predicate_type
:
string
;
provider
:
{
id
:
string
;
name
:
string
;
version
:
string
|
null
}
;
raw_result
:
JSONType
;
schema_version
:
2
;
subject
:
|
{
architecture
:
(...)
|
(...)
|
(...)
|
(...)
|
(...)
;
digest
:
{
sha256
:
...
}
;
format
:
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
;
local_path
:
string
;
name
:
string
;
}
|
null
;
}
|
{
authority
:
|
"shipped-artifact"
|
"controlled-replay"
|
"historical-reference"
|
"external-service"
|
"analyst-inference"
;
confidence
:
"observed"
|
"derived"
|
"inferred"
;
environment
:
|
{
architecture
:
string
;
id
:
string
;
isolation
:
(...)
|
(...)
|
(...)
|
(...)
;
platform
:
string
;
}
|
null
;
evidence_id
:
string
;
evidence_links
:
string
[]
;
limitations
:
string
[]
;
locations
:
(
|
{
address
:
...
;
kind
:
...
}
|
{
end
:
...
;
kind
:
...
;
start
:
...
}
|
{
kind
:
...
;
path
:
...
}
|
{
kind
:
...
;
offset
:
...
}
|
{
end
:
...
;
kind
:
...
;
start
:
...
}
)
[]
;
normalized_result
:
JSONType
;
operation
:
string
;
parameters
:
Record
<
string
,
JSONType
>
;
predicate_type
:
string
;
provider
:
{
id
:
string
;
name
:
string
;
version
:
string
|
null
}
;
raw_result
:
JSONType
;
schema_version
:
2
;
subject
:
|
{
architecture
:
(...)
|
(...)
|
(...)
|
(...)
|
(...)
;
digest
:
{
sha256
:
...
}
;
format
:
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
|
(...)
;
local_path
:
string
;
name
:
string
;
}
|
null
;
}
)
[]
;
static_layers
:
{
analysis
:
|
{
analysis_profile
:
{
digest
:
string
;
parameters
:
Record
<
(...)
,
(...)
>
;
provider
:
{
id
:
...
;
name
:
...
;
version
:
...
}
;
provider_profile_schema_version
:
number
;
schema_version
:
1
;
}
;
authority
:
|
"shipped-artifact"
|
"controlled-replay"
|
"historical-reference"
|
"external-service"
|
"analyst-inference"
;
confidence
:
"observed"
|
"derived"
|
"inferred"
;
environment
:
|
{
architecture
:
...
;
id
:
...
;
isolation
:
...
;
platform
:
...
}
|
null
;
evidence_id
:
string
;
evidence_links
:
string
[]
;
limitations
:
string
[]
;
locations
:
((...)
|
(...)
|
(...)
|
(...)
|
(...))
[]
;
normalized_result
:
JSONType
;
operation
:
string
;
parameters
:
Record
<
string
,
JSONType
>
;
predicate_type
:
string
;
provider
:
{
id
:
string
;
name
:
string
;
version
:
(...)
|
(...)
}
;
raw_result
:
JSONType
;
schema_version
:
2
;
subject
:
|
{
architecture
:
...
;
digest
:
...
;
format
:
...
;
local_path
:
...
;
name
:
...
;
}
|
null
;
}
|
{
authority
:
|
"shipped-artifact"
|
"controlled-replay"
|
"historical-reference"
|
"external-service"
|
"analyst-inference"
;
confidence
:
"observed"
|
"derived"
|
"inferred"
;
environment
:
|
{
architecture
:
...
;
id
:
...
;
isolation
:
...
;
platform
:
...
}
|
null
;
evidence_id
:
string
;
evidence_links
:
string
[]
;
limitations
:
string
[]
;
locations
:
((...)
|
(...)
|
(...)
|
(...)
|
(...))
[]
;
normalized_result
:
JSONType
;
operation
:
string
;
parameters
:
Record
<
string
,
JSONType
>
;
predicate_type
:
string
;
provider
:
{
id
:
string
;
name
:
string
;
version
:
(...)
|
(...)
}
;
raw_result
:
JSONType
;
schema_version
:
2
;
subject
:
|
{
architecture
:
...
;
digest
:
...
;
format
:
...
;
local_path
:
...
;
name
:
...
;
}
|
null
;
}
;
role
:
string
;
}
[]
;
}
;
title
:
"Reconcile one passive Electron capture"
;
}
,
]
;
inputSchema
:
ZodObject
<
{
limits
:
ZodDefault
<
ZodObject
<
{
max_reconciliation_items
:
ZodDefault
<
ZodNumber
>
;
max_runtime_entities
:
ZodDefault
<
ZodNumber
>
;
max_static_load_states
:
ZodDefault
<
ZodNumber
>
;
}
,
$strict
,
>
,
>
;
runtime_observations
:
ZodArray
<
ZodObject
<
{
analysis_profile
:
ZodOptional
<
ZodObject
<
{
digest
:
ZodString
;
parameters
:
ZodRecord
<
(...)
,
(...)
>
;
provider
:
ZodObject
<
(...)
,
(...)
>
;
provider_profile_schema_version
:
ZodNumber
;
schema_version
:
ZodLiteral
<
(...)
>
;
}
,
$strip
,
>
,
>
;
authority
:
ZodEnum
<
{
"analyst-inference"
:
"analyst-inference"
;
"controlled-replay"
:
"controlled-replay"
;
"external-service"
:
"external-service"
;
"historical-reference"
:
"historical-reference"
;
"shipped-artifact"
:
"shipped-artifact"
;
}
,
>
;
confidence
:
ZodEnum
<
{
derived
:
"derived"
;
inferred
:
"inferred"
;
observed
:
"observed"
;
}
,
>
;
environment
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodString
;
id
:
ZodString
;
isolation
:
ZodEnum
<
(...)
>
;
platform
:
ZodString
;
}
,
$strip
,
>
,
>
;
evidence_id
:
ZodString
;
evidence_links
:
ZodArray
<
ZodString
>
;
limitations
:
ZodArray
<
ZodString
>
;
locations
:
ZodArray
<
ZodDiscriminatedUnion
<
[
ZodObject
<
(...)
,
(...)
>
,
ZodObject
<
(...)
,
(...)
>
,
ZodObject
<
(...)
,
(...)
>
,
ZodObject
<
(...)
,
(...)
>
,
ZodObject
<
(...)
,
(...)
>
,
]
,
"kind"
,
>
,
>
;
normalized_result
:
ZodJSONSchema
;
operation
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
predicate_type
:
ZodString
;
provider
:
ZodObject
<
{
id
:
ZodString
;
name
:
ZodString
;
version
:
ZodNullable
<
ZodString
>
;
}
,
$strip
,
>
;
raw_result
:
ZodNullable
<
ZodJSONSchema
>
;
schema_version
:
ZodLiteral
<
2
>
;
subject
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodNullable
<
(...)
>
;
digest
:
ZodObject
<
(...)
,
(...)
>
;
format
:
ZodEnum
<
(...)
>
;
local_path
:
ZodString
;
name
:
ZodString
;
}
,
$strip
,
>
,
>
;
}
,
$strict
,
>
,
>
;
static_layers
:
ZodArray
<
ZodObject
<
{
analysis
:
ZodObject
<
{
analysis_profile
:
ZodOptional
<
ZodObject
<
(...)
,
(...)
>
>
;
authority
:
ZodEnum
<
{
"analyst-inference"
:
...
;
"controlled-replay"
:
...
;
"external-service"
:
...
;
"historical-reference"
:
...
;
"shipped-artifact"
:
...
;
}
,
>
;
confidence
:
ZodEnum
<
{
derived
:
...
;
inferred
:
...
;
observed
:
...
}
>
;
environment
:
ZodNullable
<
ZodObject
<
(...)
,
(...)
>
>
;
evidence_id
:
ZodString
;
evidence_links
:
ZodArray
<
ZodString
>
;
limitations
:
ZodArray
<
ZodString
>
;
locations
:
ZodArray
<
ZodDiscriminatedUnion
<
(...)
,
(...)
>
>
;
normalized_result
:
ZodJSONSchema
;
operation
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
predicate_type
:
ZodString
;
provider
:
ZodObject
<
{
id
:
...
;
name
:
...
;
version
:
...
}
,
$strip
>
;
raw_result
:
ZodNullable
<
ZodJSONSchema
>
;
schema_version
:
ZodLiteral
<
2
>
;
subject
:
ZodNullable
<
ZodObject
<
(...)
,
(...)
>
>
;
}
,
$strict
,
>
;
role
:
ZodEnum
<
{
application
:
"application"
;
assets
:
"assets"
;
cache
:
"cache"
}
,
>
;
runtime_mappings
:
ZodDefault
<
ZodArray
<
ZodDiscriminatedUnion
<
[
(...)
,
(...)
]
,
"kind"
>
>
,
>
;
}
,
$strict
,
>
,
>
;
}
,
$strict
,
>
;
kind
:
"electron-provider"
;
name
:
"reconcile_javascript_runtime"
;
outputSchema
:
ZodObject
<
{
analysis_profile
:
ZodOptional
<
ZodObject
<
{
digest
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
provider
:
ZodObject
<
{
id
:
ZodString
;
name
:
ZodString
;
version
:
ZodString
}
,
$strip
,
>
;
provider_profile_schema_version
:
ZodNumber
;
schema_version
:
ZodLiteral
<
1
>
;
}
,
$strip
,
>
,
>
;
authority
:
ZodEnum
<
{
"analyst-inference"
:
"analyst-inference"
;
"controlled-replay"
:
"controlled-replay"
;
"external-service"
:
"external-service"
;
"historical-reference"
:
"historical-reference"
;
"shipped-artifact"
:
"shipped-artifact"
;
}
,
>
;
confidence
:
ZodEnum
<
{
derived
:
"derived"
;
inferred
:
"inferred"
;
observed
:
"observed"
}
,
>
;
environment
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodString
;
id
:
ZodString
;
isolation
:
ZodEnum
<
{
container
:
"container"
;
none
:
"none"
;
process
:
"process"
;
"virtual-machine"
:
"virtual-machine"
;
}
,
>
;
platform
:
ZodString
;
}
,
$strip
,
>
,
>
;
evidence_id
:
ZodString
;
evidence_links
:
ZodArray
<
ZodString
>
;
limitations
:
ZodArray
<
ZodString
>
;
locations
:
ZodArray
<
ZodDiscriminatedUnion
<
[
ZodObject
<
{
address
:
ZodString
;
kind
:
ZodLiteral
<
"address"
>
}
,
$strip
,
>
,
ZodObject
<
{
end
:
ZodString
;
kind
:
ZodLiteral
<
"address-range"
>
;
start
:
ZodString
;
}
,
$strip
,
>
,
ZodObject
<
{
kind
:
ZodLiteral
<
"artifact-path"
>
;
path
:
ZodString
}
,
$strip
,
>
,
ZodObject
<
{
kind
:
ZodLiteral
<
"file-offset"
>
;
offset
:
ZodNumber
}
,
$strip
,
>
,
ZodObject
<
{
end
:
ZodNumber
;
kind
:
ZodLiteral
<
"file-offset-range"
>
;
start
:
ZodNumber
;
}
,
$strip
,
>
,
]
,
"kind"
,
>
,
>
;
normalized_result
:
ZodObject
<
{
coverage
:
ZodObject
<
{
omitted_graph_items
:
ZodNumber
;
omitted_reconciliation_items
:
ZodNumber
;
omitted_runtime_entities
:
ZodNumber
;
omitted_static_load_states
:
ZodNumber
;
status
:
ZodEnum
<
{
"complete-within-inputs"
:
"complete-within-inputs"
;
partial
:
"partial"
;
truncated
:
"truncated"
;
}
,
>
;
truncated
:
ZodBoolean
;
}
,
$strict
,
>
;
evidence_links
:
ZodArray
<
ZodString
>
;
graph
:
ZodObject
<
{
coverage
:
ZodObject
<
{
limits
:
ZodArray
<
(...)
>
;
omitted_count
:
ZodNullable
<
(...)
>
;
status
:
ZodEnum
<
(...)
>
;
truncated
:
ZodBoolean
;
}
,
$strict
,
>
;
edges
:
ZodArray
<
ZodObject
<
{
edge_id
:
...
;
evidence
:
...
;
identifier_strategy
:
...
;
properties
:
...
;
relation
:
...
;
source_node_id
:
...
;
target_node_id
:
...
;
}
,
$strict
,
>
,
>
;
graph_id
:
ZodString
;
limitations
:
ZodArray
<
ZodString
>
;
nodes
:
ZodArray
<
ZodObject
<
{
identity
:
...
;
kind
:
...
;
node_id
:
...
;
observations
:
...
}
,
$strict
,
>
,
>
;
root_node_ids
:
ZodArray
<
ZodString
>
;
schema
:
ZodLiteral
<
"JavaScriptApplicationGraph"
>
;
schema_version
:
ZodLiteral
<
1
>
;
}
,
$strict
,
>
;
limitations
:
ZodArray
<
ZodString
>
;
reconciliation_id
:
ZodString
;
reconciliations
:
ZodArray
<
ZodObject
<
{
basis
:
ZodEnum
<
{
"artifact-path"
:
...
;
"content-and-location"
:
...
;
"content-sha256"
:
...
;
"module-source-sha256"
:
...
;
none
:
...
;
"operator-file-mapping"
:
...
;
"operator-url-mapping"
:
...
;
}
,
>
;
candidate_static_count
:
ZodNumber
;
candidate_static_nodes
:
ZodArray
<
ZodObject
<
(...)
,
(...)
>
>
;
confidence
:
ZodEnum
<
{
exact
:
...
;
high
:
...
;
low
:
...
;
medium
:
...
;
unknown
:
...
}
,
>
;
entity_kind
:
ZodEnum
<
{
frame
:
...
;
script
:
...
;
target
:
...
;
worker
:
...
}
,
>
;
reason
:
ZodEnum
<
{
"ambiguous-static-candidates"
:
...
;
"captured-content-disagrees-with-static-location"
:
...
;
"content-and-location-match"
:
...
;
"no-authorized-location-mapping"
:
...
;
"no-static-content-match"
:
...
;
"reconciliation-limit-reached"
:
...
;
"runtime-frame-unattributed"
:
...
;
"static-or-runtime-coverage-incomplete"
:
...
;
"unique-content-match"
:
...
;
"unique-location-match"
:
...
;
}
,
>
;
reconciliation_id
:
ZodString
;
runtime_evidence_id
:
ZodString
;
runtime_node_id
:
ZodString
;
static_layer_id
:
ZodNullable
<
ZodString
>
;
static_node_id
:
ZodNullable
<
ZodString
>
;
status
:
ZodEnum
<
{
ambiguous
:
...
;
matched
:
...
;
unknown
:
...
;
unmatched
:
...
}
,
>
;
}
,
$strict
,
>
,
>
;
runtime_captures
:
ZodArray
<
ZodObject
<
{
capture_sha256
:
ZodString
;
evidence_id
:
ZodString
;
frames
:
ZodNumber
;
kind
:
ZodEnum
<
{
browser
:
...
;
electron
:
...
}
>
;
scripts
:
ZodNumber
;
scripts_complete_within_scope
:
ZodBoolean
;
target_key
:
ZodString
;
target_location
:
ZodString
;
target_node_id
:
ZodString
;
workers
:
ZodNumber
;
}
,
$strict
,
>
,
>
;
schema_version
:
ZodLiteral
<
1
>
;
source_map_authority
:
ZodObject
<
{
limitation
:
ZodString
;
runtime_script_declarations
:
ZodNumber
;
static_layers_with_read_approval
:
ZodNumber
;
used_for_primary_matching
:
ZodLiteral
<
false
>
;
}
,
$strict
,
>
;
static_layers
:
ZodArray
<
ZodObject
<
{
evidence_id
:
ZodString
;
format
:
ZodEnum
<
{
asar
:
...
;
directory
:
...
}
>
;
graph_id
:
ZodString
;
input_path
:
ZodString
;
layer_id
:
ZodString
;
role
:
ZodEnum
<
{
application
:
...
;
assets
:
...
;
cache
:
...
}
>
;
root_artifact_sha256
:
ZodString
;
runtime_mappings
:
ZodArray
<
ZodDiscriminatedUnion
<
(...)
,
(...)
>
>
;
}
,
$strict
,
>
,
>
;
static_load_states
:
ZodArray
<
ZodObject
<
{
kind
:
ZodEnum
<
{
"javascript-asset"
:
...
;
"javascript-chunk"
:
...
;
"javascript-module"
:
...
;
}
,
>
;
reason
:
ZodEnum
<
{
"containing-asset-was-loaded"
:
...
;
"layer-outside-runtime-scope"
:
...
;
"not-observed-in-bounded-capture"
:
...
;
"runtime-script-correspondence"
:
...
;
"static-or-runtime-coverage-incomplete"
:
...
;
}
,
>
;
runtime_node_ids
:
ZodArray
<
ZodString
>
;
static_layer_id
:
ZodString
;
static_node_id
:
ZodString
;
status
:
ZodEnum
<
{
loaded
:
...
;
"not-observed-in-capture"
:
...
;
"resident-in-loaded-asset"
:
...
;
unknown
:
...
;
}
,
>
;
}
,
$strict
,
>
,
>
;
summary
:
ZodObject
<
{
ambiguous
:
ZodNumber
;
matched
:
ZodNumber
;
runtime_frames
:
ZodNumber
;
runtime_scripts
:
ZodNumber
;
runtime_targets
:
ZodNumber
;
runtime_workers
:
ZodNumber
;
static_loaded
:
ZodNumber
;
static_not_observed
:
ZodNumber
;
static_resident
:
ZodNumber
;
static_unknown
:
ZodNumber
;
unknown
:
ZodNumber
;
unmatched
:
ZodNumber
;
}
,
$strict
,
>
;
}
,
$strict
,
>
;
operation
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
predicate_type
:
ZodString
;
provider
:
ZodObject
<
{
id
:
ZodString
;
name
:
ZodString
;
version
:
ZodNullable
<
ZodString
>
}
,
$strip
,
>
;
raw_result
:
ZodNullable
<
ZodJSONSchema
>
;
schema_version
:
ZodLiteral
<
2
>
;
subject
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodNullable
<
ZodEnum
<
{
arm
:
"arm"
;
arm64
:
"arm64"
;
x86
:
"x86"
;
x86_64
:
"x86_64"
}
,
>
,
>
;
digest
:
ZodObject
<
{
sha256
:
ZodString
}
,
$strip
>
;
format
:
ZodEnum
<
{
"analysis-database"
:
"analysis-database"
;
apk
:
"apk"
;
asar
:
"asar"
;
directory
:
"directory"
;
dmg
:
"dmg"
;
elf
:
"elf"
;
entitlements
:
"entitlements"
;
file
:
"file"
;
hopper
:
"hopper"
;
ipa
:
"ipa"
;
javascript
:
"javascript"
;
"javascript-bundle"
:
"javascript-bundle"
;
"mach-o"
:
"mach-o"
;
"mach-o-universal"
:
"mach-o-universal"
;
pe
:
"pe"
;
pkg
:
"pkg"
;
plist
:
"plist"
;
"source-map"
:
"source-map"
;
unknown
:
"unknown"
;
zip
:
"zip"
;
}
,
>
;
local_path
:
ZodString
;
name
:
ZodString
;
}
,
$strip
,
>
,
>
;
}
,
$strict
,
>
;
}
,
{
annotations
:
{
destructiveHint
:
false
;
idempotentHint
:
true
;
openWorldHint
:
false
;
readOnlyHint
:
true
;
}
;
description
:
"Trace a typed literal seed through an authenticated JavaScript Application Graph with explicit direction, depth, node, edge, and path bounds. Original static, native, passive-runtime, inferred, and unknown authorities remain distinct; native addon handoffs never open a provider or execute the application."
;
examples
:
readonly
[
{
input
:
{
application
:
|
{
analysis_profile
:
{
digest
:
string
;
parameters
:
Record
<
string
,
JSONType
>
;
provider
:
{
id
:
string
;
name
:
string
;
version
:
string
}
;
provider_profile_schema_version
:
number
;
schema_version
:
1
;
}
;
authority
:
|
"shipped-artifact"
|
"controlled-replay"
|
"historical-reference"
|
"external-service"
|
"analyst-inference"
;
confidence
:
"observed"
|
"derived"
|
"inferred"
;
environment
:
|
{
architecture
:
string
;
id
:
string
;
isolation
:
"process"
|
"none"
|
"container"
|
"virtual-machine"
;
platform
:
string
;
}
|
null
;
evidence_id
:
string
;
evidence_links
:
string
[]
;
limitations
:
string
[]
;
locations
:
(
|
{
address
:
string
;
kind
:
"address"
}
|
{
end
:
string
;
kind
:
"address-range"
;
start
:
string
}
|
{
kind
:
"artifact-path"
;
path
:
string
}
|
{
kind
:
"file-offset"
;
offset
:
number
}
|
{
end
:
number
;
kind
:
"file-offset-range"
;
start
:
number
}
)
[]
;
normalized_result
:
JSONType
;
operation
:
string
;
parameters
:
Record
<
string
,
JSONType
>
;
predicate_type
:
string
;
provider
:
{
id
:
string
;
name
:
string
;
version
:
string
|
null
}
;
raw_result
:
JSONType
;
schema_version
:
2
;
subject
:
|
{
architecture
:
"x86"
|
"x86_64"
|
"arm"
|
"arm64"
|
null
;
digest
:
{
sha256
:
string
}
;
format
:
|
"unknown"
|
"file"
|
"directory"
|
"javascript"
|
"source-map"
|
"plist"
|
"entitlements"
|
"dmg"
|
"zip"
|
"pkg"
|
"asar"
|
"javascript-bundle"
|
"mach-o-universal"
|
"mach-o"
|
"elf"
|
"pe"
|
"hopper"
|
"analysis-database"
|
"ipa"
|
"apk"
;
local_path
:
string
;
name
:
string
;
}
|
null
;
}
|
{
authority
:
|
"shipped-artifact"
|
"controlled-replay"
|
"historical-reference"
|
"external-service"
|
"analyst-inference"
;
confidence
:
"observed"
|
"derived"
|
"inferred"
;
environment
:
|
{
architecture
:
string
;
id
:
string
;
isolation
:
"process"
|
"none"
|
"container"
|
"virtual-machine"
;
platform
:
string
;
}
|
null
;
evidence_id
:
string
;
evidence_links
:
string
[]
;
limitations
:
string
[]
;
locations
:
(
|
{
address
:
string
;
kind
:
"address"
}
|
{
end
:
string
;
kind
:
"address-range"
;
start
:
string
}
|
{
kind
:
"artifact-path"
;
path
:
string
}
|
{
kind
:
"file-offset"
;
offset
:
number
}
|
{
end
:
number
;
kind
:
"file-offset-range"
;
start
:
number
}
)
[]
;
normalized_result
:
JSONType
;
operation
:
string
;
parameters
:
Record
<
string
,
JSONType
>
;
predicate_type
:
string
;
provider
:
{
id
:
string
;
name
:
string
;
version
:
string
|
null
}
;
raw_result
:
JSONType
;
schema_version
:
2
;
subject
:
|
{
architecture
:
"x86"
|
"x86_64"
|
"arm"
|
"arm64"
|
null
;
digest
:
{
sha256
:
string
}
;
format
:
|
"unknown"
|
"file"
|
"directory"
|
"javascript"
|
"source-map"
|
"plist"
|
"entitlements"
|
"dmg"
|
"zip"
|
"pkg"
|
"asar"
|
"javascript-bundle"
|
"mach-o-universal"
|
"mach-o"
|
"elf"
|
"pe"
|
"hopper"
|
"analysis-database"
|
"ipa"
|
"apk"
;
local_path
:
string
;
name
:
string
;
}
|
null
;
}
;
direction
:
"both"
;
seed
:
{
case_sensitive
:
boolean
;
kind
:
"module"
;
match
:
"exact"
;
value
:
string
;
}
;
}
;
title
:
"Trace one module seed through a retained application graph"
;
}
,
]
;
inputSchema
:
ZodObject
<
{
application
:
ZodObject
<
{
analysis_profile
:
ZodOptional
<
ZodObject
<
{
digest
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
provider
:
ZodObject
<
{
id
:
...
;
name
:
...
;
version
:
...
}
,
$strip
>
;
provider_profile_schema_version
:
ZodNumber
;
schema_version
:
ZodLiteral
<
1
>
;
}
,
$strip
,
>
,
>
;
authority
:
ZodEnum
<
{
"analyst-inference"
:
"analyst-inference"
;
"controlled-replay"
:
"controlled-replay"
;
"external-service"
:
"external-service"
;
"historical-reference"
:
"historical-reference"
;
"shipped-artifact"
:
"shipped-artifact"
;
}
,
>
;
confidence
:
ZodEnum
<
{
derived
:
"derived"
;
inferred
:
"inferred"
;
observed
:
"observed"
}
,
>
;
environment
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodString
;
id
:
ZodString
;
isolation
:
ZodEnum
<
{
container
:
...
;
none
:
...
;
process
:
...
;
"virtual-machine"
:
...
;
}
,
>
;
platform
:
ZodString
;
}
,
$strip
,
>
,
>
;
evidence_id
:
ZodString
;
evidence_links
:
ZodArray
<
ZodString
>
;
limitations
:
ZodArray
<
ZodString
>
;
locations
:
ZodArray
<
ZodDiscriminatedUnion
<
[
ZodObject
<
{
address
:
...
;
kind
:
...
}
,
$strip
>
,
ZodObject
<
{
end
:
...
;
kind
:
...
;
start
:
...
}
,
$strip
>
,
ZodObject
<
{
kind
:
...
;
path
:
...
}
,
$strip
>
,
ZodObject
<
{
kind
:
...
;
offset
:
...
}
,
$strip
>
,
ZodObject
<
{
end
:
...
;
kind
:
...
;
start
:
...
}
,
$strip
>
,
]
,
"kind"
,
>
,
>
;
normalized_result
:
ZodJSONSchema
;
operation
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
predicate_type
:
ZodString
;
provider
:
ZodObject
<
{
id
:
ZodString
;
name
:
ZodString
;
version
:
ZodNullable
<
ZodString
>
;
}
,
$strip
,
>
;
raw_result
:
ZodNullable
<
ZodJSONSchema
>
;
schema_version
:
ZodLiteral
<
2
>
;
subject
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodNullable
<
ZodEnum
<
(...)
>
>
;
digest
:
ZodObject
<
{
sha256
:
...
}
,
$strip
>
;
format
:
ZodEnum
<
{
"analysis-database"
:
...
;
apk
:
...
;
asar
:
...
;
directory
:
...
;
dmg
:
...
;
elf
:
...
;
entitlements
:
...
;
file
:
...
;
hopper
:
...
;
ipa
:
...
;
javascript
:
...
;
"javascript-bundle"
:
...
;
"mach-o"
:
...
;
"mach-o-universal"
:
...
;
pe
:
...
;
pkg
:
...
;
plist
:
...
;
"source-map"
:
...
;
unknown
:
...
;
zip
:
...
;
}
,
>
;
local_path
:
ZodString
;
name
:
ZodString
;
}
,
$strip
,
>
,
>
;
}
,
$strict
,
>
;
direction
:
ZodDefault
<
ZodEnum
<
{
both
:
"both"
;
incoming
:
"incoming"
;
outgoing
:
"outgoing"
}
,
>
,
>
;
limits
:
ZodDefault
<
ZodObject
<
{
max_depth
:
ZodDefault
<
ZodNumber
>
;
max_edges
:
ZodDefault
<
ZodNumber
>
;
max_nodes
:
ZodDefault
<
ZodNumber
>
;
max_paths
:
ZodDefault
<
ZodNumber
>
;
max_seed_matches
:
ZodDefault
<
ZodNumber
>
;
}
,
$strict
,
>
,
>
;
native_observations
:
ZodDefault
<
ZodArray
<
ZodObject
<
{
analysis_profile
:
ZodOptional
<
ZodObject
<
{
digest
:
...
;
parameters
:
...
;
provider
:
...
;
provider_profile_schema_version
:
...
;
schema_version
:
...
;
}
,
$strip
,
>
,
>
;
authority
:
ZodEnum
<
{
"analyst-inference"
:
"analyst-inference"
;
"controlled-replay"
:
"controlled-replay"
;
"external-service"
:
"external-service"
;
"historical-reference"
:
"historical-reference"
;
"shipped-artifact"
:
"shipped-artifact"
;
}
,
>
;
confidence
:
ZodEnum
<
{
derived
:
"derived"
;
inferred
:
"inferred"
;
observed
:
"observed"
;
}
,
>
;
environment
:
ZodNullable
<
ZodObject
<
{
architecture
:
...
;
id
:
...
;
isolation
:
...
;
platform
:
...
}
,
$strip
,
>
,
>
;
evidence_id
:
ZodString
;
evidence_links
:
ZodArray
<
ZodString
>
;
limitations
:
ZodArray
<
ZodString
>
;
locations
:
ZodArray
<
ZodDiscriminatedUnion
<
[
(...)
,
(...)
,
(...)
,
(...)
,
(...)
]
,
"kind"
,
>
,
>
;
normalized_result
:
ZodJSONSchema
;
operation
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
predicate_type
:
ZodString
;
provider
:
ZodObject
<
{
id
:
ZodString
;
name
:
ZodString
;
version
:
ZodNullable
<
(...)
>
}
,
$strip
,
>
;
raw_result
:
ZodNullable
<
ZodJSONSchema
>
;
schema_version
:
ZodLiteral
<
2
>
;
subject
:
ZodNullable
<
ZodObject
<
{
architecture
:
...
;
digest
:
...
;
format
:
...
;
local_path
:
...
;
name
:
...
;
}
,
$strip
,
>
,
>
;
}
,
$strict
,
>
,
>
,
>
;
seed
:
ZodObject
<
{
case_sensitive
:
ZodDefault
<
ZodBoolean
>
;
kind
:
ZodEnum
<
{
api
:
"api"
;
channel
:
"channel"
;
module
:
"module"
;
"native-export"
:
"native-export"
;
"node-id"
:
"node-id"
;
route
:
"route"
;
string
:
"string"
;
}
,
>
;
match
:
ZodDefault
<
ZodNullable
<
ZodEnum
<
{
contains
:
"contains"
;
exact
:
"exact"
}
>
>
,
>
;
value
:
ZodString
;
}
,
$strict
,
>
;
}
,
$strict
,
>
;
kind
:
"application"
;
name
:
"trace_application_feature"
;
outputSchema
:
ZodObject
<
{
analysis_profile
:
ZodOptional
<
ZodObject
<
{
digest
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
provider
:
ZodObject
<
{
id
:
ZodString
;
name
:
ZodString
;
version
:
ZodString
}
,
$strip
,
>
;
provider_profile_schema_version
:
ZodNumber
;
schema_version
:
ZodLiteral
<
1
>
;
}
,
$strip
,
>
,
>
;
authority
:
ZodEnum
<
{
"analyst-inference"
:
"analyst-inference"
;
"controlled-replay"
:
"controlled-replay"
;
"external-service"
:
"external-service"
;
"historical-reference"
:
"historical-reference"
;
"shipped-artifact"
:
"shipped-artifact"
;
}
,
>
;
confidence
:
ZodEnum
<
{
derived
:
"derived"
;
inferred
:
"inferred"
;
observed
:
"observed"
}
,
>
;
environment
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodString
;
id
:
ZodString
;
isolation
:
ZodEnum
<
{
container
:
"container"
;
none
:
"none"
;
process
:
"process"
;
"virtual-machine"
:
"virtual-machine"
;
}
,
>
;
platform
:
ZodString
;
}
,
$strip
,
>
,
>
;
evidence_id
:
ZodString
;
evidence_links
:
ZodArray
<
ZodString
>
;
limitations
:
ZodArray
<
ZodString
>
;
locations
:
ZodArray
<
ZodDiscriminatedUnion
<
[
ZodObject
<
{
address
:
ZodString
;
kind
:
ZodLiteral
<
"address"
>
}
,
$strip
,
>
,
ZodObject
<
{
end
:
ZodString
;
kind
:
ZodLiteral
<
"address-range"
>
;
start
:
ZodString
;
}
,
$strip
,
>
,
ZodObject
<
{
kind
:
ZodLiteral
<
"artifact-path"
>
;
path
:
ZodString
}
,
$strip
,
>
,
ZodObject
<
{
kind
:
ZodLiteral
<
"file-offset"
>
;
offset
:
ZodNumber
}
,
$strip
,
>
,
ZodObject
<
{
end
:
ZodNumber
;
kind
:
ZodLiteral
<
"file-offset-range"
>
;
start
:
ZodNumber
;
}
,
$strip
,
>
,
]
,
"kind"
,
>
,
>
;
normalized_result
:
ZodObject
<
{
coverage
:
ZodObject
<
{
frontier_node_ids
:
ZodArray
<
ZodString
>
;
omitted_edges
:
ZodNumber
;
omitted_nodes
:
ZodNumber
;
omitted_paths
:
ZodNumber
;
omitted_seed_matches
:
ZodNumber
;
scanned_nodes
:
ZodNumber
;
source_graph_status
:
ZodEnum
<
{
complete
:
"complete"
;
partial
:
"partial"
;
unavailable
:
"unavailable"
;
unknown
:
"unknown"
;
}
,
>
;
status
:
ZodEnum
<
{
"complete-within-source"
:
"complete-within-source"
;
"no-match"
:
"no-match"
;
partial
:
"partial"
;
truncated
:
"truncated"
;
}
,
>
;
total_seed_matches
:
ZodNumber
;
}
,
$strict
,
>
;
direction
:
ZodEnum
<
{
both
:
"both"
;
incoming
:
"incoming"
;
outgoing
:
"outgoing"
}
,
>
;
evidence_links
:
ZodArray
<
ZodString
>
;
graph
:
ZodNullable
<
ZodObject
<
{
coverage
:
ZodObject
<
{
limits
:
...
;
omitted_count
:
...
;
status
:
...
;
truncated
:
...
;
}
,
$strict
,
>
;
edges
:
ZodArray
<
ZodObject
<
(...)
,
(...)
>
>
;
graph_id
:
ZodString
;
limitations
:
ZodArray
<
ZodString
>
;
nodes
:
ZodArray
<
ZodObject
<
(...)
,
(...)
>
>
;
root_node_ids
:
ZodArray
<
ZodString
>
;
schema
:
ZodLiteral
<
"JavaScriptApplicationGraph"
>
;
schema_version
:
ZodLiteral
<
1
>
;
}
,
$strict
,
>
,
>
;
limitations
:
ZodArray
<
ZodString
>
;
native_handoffs
:
ZodArray
<
ZodObject
<
{
artifact_path
:
ZodNullable
<
ZodString
>
;
artifact_sha256
:
ZodString
;
evidence_ids
:
ZodArray
<
ZodString
>
;
export_node_ids
:
ZodArray
<
ZodString
>
;
native_node_id
:
ZodString
;
providers
:
ZodArray
<
ZodObject
<
(...)
,
(...)
>
>
;
recommended_tools
:
ZodArray
<
ZodEnum
<
(...)
>
>
;
requested_exports
:
ZodArray
<
ZodString
>
;
status
:
ZodEnum
<
{
"evidence-linked"
:
...
;
"requires-provider-analysis"
:
...
}
,
>
;
}
,
$strict
,
>
,
>
;
paths
:
ZodArray
<
ZodObject
<
{
authorities
:
ZodArray
<
ZodString
>
;
contains_inference
:
ZodBoolean
;
edge_ids
:
ZodArray
<
ZodString
>
;
end_kind
:
ZodString
;
end_node_id
:
ZodString
;
node_ids
:
ZodArray
<
ZodString
>
;
path_id
:
ZodString
;
start_node_id
:
ZodString
;
}
,
$strict
,
>
,
>
;
schema_version
:
ZodLiteral
<
1
>
;
seed
:
ZodObject
<
{
case_sensitive
:
ZodDefault
<
ZodBoolean
>
;
kind
:
ZodEnum
<
{
api
:
"api"
;
channel
:
"channel"
;
module
:
"module"
;
"native-export"
:
"native-export"
;
"node-id"
:
"node-id"
;
route
:
"route"
;
string
:
"string"
;
}
,
>
;
match
:
ZodDefault
<
ZodNullable
<
ZodEnum
<
(...)
>
>
>
;
value
:
ZodString
;
}
,
$strict
,
>
;
seed_matches
:
ZodArray
<
ZodObject
<
{
basis
:
ZodEnum
<
{
identity
:
...
;
label
:
...
;
"node-id"
:
...
;
property
:
...
}
,
>
;
field
:
ZodString
;
kind
:
ZodString
;
node_id
:
ZodString
;
}
,
$strict
,
>
,
>
;
source_evidence_id
:
ZodString
;
source_graph_id
:
ZodString
;
summary
:
ZodObject
<
{
inferred_facts
:
ZodNumber
;
matched_seeds
:
ZodNumber
;
native_handoffs
:
ZodNumber
;
observed_facts
:
ZodNumber
;
terminal_paths
:
ZodNumber
;
traced_edges
:
ZodNumber
;
traced_nodes
:
ZodNumber
;
unavailable_facts
:
ZodNumber
;
unknown_facts
:
ZodNumber
;
}
,
$strict
,
>
;
trace_id
:
ZodString
;
}
,
$strict
,
>
;
operation
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
predicate_type
:
ZodString
;
provider
:
ZodObject
<
{
id
:
ZodString
;
name
:
ZodString
;
version
:
ZodNullable
<
ZodString
>
}
,
$strip
,
>
;
raw_result
:
ZodNullable
<
ZodJSONSchema
>
;
schema_version
:
ZodLiteral
<
2
>
;
subject
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodNullable
<
ZodEnum
<
{
arm
:
"arm"
;
arm64
:
"arm64"
;
x86
:
"x86"
;
x86_64
:
"x86_64"
}
,
>
,
>
;
digest
:
ZodObject
<
{
sha256
:
ZodString
}
,
$strip
>
;
format
:
ZodEnum
<
{
"analysis-database"
:
"analysis-database"
;
apk
:
"apk"
;
asar
:
"asar"
;
directory
:
"directory"
;
dmg
:
"dmg"
;
elf
:
"elf"
;
entitlements
:
"entitlements"
;
file
:
"file"
;
hopper
:
"hopper"
;
ipa
:
"ipa"
;
javascript
:
"javascript"
;
"javascript-bundle"
:
"javascript-bundle"
;
"mach-o"
:
"mach-o"
;
"mach-o-universal"
:
"mach-o-universal"
;
pe
:
"pe"
;
pkg
:
"pkg"
;
plist
:
"plist"
;
"source-map"
:
"source-map"
;
unknown
:
"unknown"
;
zip
:
"zip"
;
}
,
>
;
local_path
:
ZodString
;
name
:
ZodString
;
}
,
$strip
,
>
,
>
;
}
,
$strict
,
>
;
}
,
{
annotations
:
{
destructiveHint
:
false
;
idempotentHint
:
true
;
openWorldHint
:
false
;
readOnlyHint
:
true
;
}
;
description
:
"Compare two authenticated JavaScript Application Graph versions using unique-only exact digest, module source digest, source-map identity, structural fingerprint, and non-module semantic-key tiers. Reports added, removed, changed, ambiguous, and unknown entities plus a bounded changed_from graph without fuzzy or module-ordinal pairing."
;
examples
:
readonly
[
{
input
:
{
left
:
|
{
analysis_profile
:
{
digest
:
string
;
parameters
:
Record
<
string
,
JSONType
>
;
provider
:
{
id
:
string
;
name
:
string
;
version
:
string
}
;
provider_profile_schema_version
:
number
;
schema_version
:
1
;
}
;
authority
:
|
"shipped-artifact"
|
"controlled-replay"
|
"historical-reference"
|
"external-service"
|
"analyst-inference"
;
confidence
:
"observed"
|
"derived"
|
"inferred"
;
environment
:
|
{
architecture
:
string
;
id
:
string
;
isolation
:
"process"
|
"none"
|
"container"
|
"virtual-machine"
;
platform
:
string
;
}
|
null
;
evidence_id
:
string
;
evidence_links
:
string
[]
;
limitations
:
string
[]
;
locations
:
(
|
{
address
:
string
;
kind
:
"address"
}
|
{
end
:
string
;
kind
:
"address-range"
;
start
:
string
}
|
{
kind
:
"artifact-path"
;
path
:
string
}
|
{
kind
:
"file-offset"
;
offset
:
number
}
|
{
end
:
number
;
kind
:
"file-offset-range"
;
start
:
number
}
)
[]
;
normalized_result
:
JSONType
;
operation
:
string
;
parameters
:
Record
<
string
,
JSONType
>
;
predicate_type
:
string
;
provider
:
{
id
:
string
;
name
:
string
;
version
:
string
|
null
}
;
raw_result
:
JSONType
;
schema_version
:
2
;
subject
:
|
{
architecture
:
"x86"
|
"x86_64"
|
"arm"
|
"arm64"
|
null
;
digest
:
{
sha256
:
string
}
;
format
:
|
"unknown"
|
"file"
|
"directory"
|
"javascript"
|
"source-map"
|
"plist"
|
"entitlements"
|
"dmg"
|
"zip"
|
"pkg"
|
"asar"
|
"javascript-bundle"
|
"mach-o-universal"
|
"mach-o"
|
"elf"
|
"pe"
|
"hopper"
|
"analysis-database"
|
"ipa"
|
"apk"
;
local_path
:
string
;
name
:
string
;
}
|
null
;
}
|
{
authority
:
|
"shipped-artifact"
|
"controlled-replay"
|
"historical-reference"
|
"external-service"
|
"analyst-inference"
;
confidence
:
"observed"
|
"derived"
|
"inferred"
;
environment
:
|
{
architecture
:
string
;
id
:
string
;
isolation
:
"process"
|
"none"
|
"container"
|
"virtual-machine"
;
platform
:
string
;
}
|
null
;
evidence_id
:
string
;
evidence_links
:
string
[]
;
limitations
:
string
[]
;
locations
:
(
|
{
address
:
string
;
kind
:
"address"
}
|
{
end
:
string
;
kind
:
"address-range"
;
start
:
string
}
|
{
kind
:
"artifact-path"
;
path
:
string
}
|
{
kind
:
"file-offset"
;
offset
:
number
}
|
{
end
:
number
;
kind
:
"file-offset-range"
;
start
:
number
}
)
[]
;
normalized_result
:
JSONType
;
operation
:
string
;
parameters
:
Record
<
string
,
JSONType
>
;
predicate_type
:
string
;
provider
:
{
id
:
string
;
name
:
string
;
version
:
string
|
null
}
;
raw_result
:
JSONType
;
schema_version
:
2
;
subject
:
|
{
architecture
:
"x86"
|
"x86_64"
|
"arm"
|
"arm64"
|
null
;
digest
:
{
sha256
:
string
}
;
format
:
|
"unknown"
|
"file"
|
"directory"
|
"javascript"
|
"source-map"
|
"plist"
|
"entitlements"
|
"dmg"
|
"zip"
|
"pkg"
|
"asar"
|
"javascript-bundle"
|
"mach-o-universal"
|
"mach-o"
|
"elf"
|
"pe"
|
"hopper"
|
"analysis-database"
|
"ipa"
|
"apk"
;
local_path
:
string
;
name
:
string
;
}
|
null
;
}
;
right
:
|
{
analysis_profile
:
{
digest
:
string
;
parameters
:
Record
<
string
,
JSONType
>
;
provider
:
{
id
:
string
;
name
:
string
;
version
:
string
}
;
provider_profile_schema_version
:
number
;
schema_version
:
1
;
}
;
authority
:
|
"shipped-artifact"
|
"controlled-replay"
|
"historical-reference"
|
"external-service"
|
"analyst-inference"
;
confidence
:
"observed"
|
"derived"
|
"inferred"
;
environment
:
|
{
architecture
:
string
;
id
:
string
;
isolation
:
"process"
|
"none"
|
"container"
|
"virtual-machine"
;
platform
:
string
;
}
|
null
;
evidence_id
:
string
;
evidence_links
:
string
[]
;
limitations
:
string
[]
;
locations
:
(
|
{
address
:
string
;
kind
:
"address"
}
|
{
end
:
string
;
kind
:
"address-range"
;
start
:
string
}
|
{
kind
:
"artifact-path"
;
path
:
string
}
|
{
kind
:
"file-offset"
;
offset
:
number
}
|
{
end
:
number
;
kind
:
"file-offset-range"
;
start
:
number
}
)
[]
;
normalized_result
:
JSONType
;
operation
:
string
;
parameters
:
Record
<
string
,
JSONType
>
;
predicate_type
:
string
;
provider
:
{
id
:
string
;
name
:
string
;
version
:
string
|
null
}
;
raw_result
:
JSONType
;
schema_version
:
2
;
subject
:
|
{
architecture
:
"x86"
|
"x86_64"
|
"arm"
|
"arm64"
|
null
;
digest
:
{
sha256
:
string
}
;
format
:
|
"unknown"
|
"file"
|
"directory"
|
"javascript"
|
"source-map"
|
"plist"
|
"entitlements"
|
"dmg"
|
"zip"
|
"pkg"
|
"asar"
|
"javascript-bundle"
|
"mach-o-universal"
|
"mach-o"
|
"elf"
|
"pe"
|
"hopper"
|
"analysis-database"
|
"ipa"
|
"apk"
;
local_path
:
string
;
name
:
string
;
}
|
null
;
}
|
{
authority
:
|
"shipped-artifact"
|
"controlled-replay"
|
"historical-reference"
|
"external-service"
|
"analyst-inference"
;
confidence
:
"observed"
|
"derived"
|
"inferred"
;
environment
:
|
{
architecture
:
string
;
id
:
string
;
isolation
:
"process"
|
"none"
|
"container"
|
"virtual-machine"
;
platform
:
string
;
}
|
null
;
evidence_id
:
string
;
evidence_links
:
string
[]
;
limitations
:
string
[]
;
locations
:
(
|
{
address
:
string
;
kind
:
"address"
}
|
{
end
:
string
;
kind
:
"address-range"
;
start
:
string
}
|
{
kind
:
"artifact-path"
;
path
:
string
}
|
{
kind
:
"file-offset"
;
offset
:
number
}
|
{
end
:
number
;
kind
:
"file-offset-range"
;
start
:
number
}
)
[]
;
normalized_result
:
JSONType
;
operation
:
string
;
parameters
:
Record
<
string
,
JSONType
>
;
predicate_type
:
string
;
provider
:
{
id
:
string
;
name
:
string
;
version
:
string
|
null
}
;
raw_result
:
JSONType
;
schema_version
:
2
;
subject
:
|
{
architecture
:
"x86"
|
"x86_64"
|
"arm"
|
"arm64"
|
null
;
digest
:
{
sha256
:
string
}
;
format
:
|
"unknown"
|
"file"
|
"directory"
|
"javascript"
|
"source-map"
|
"plist"
|
"entitlements"
|
"dmg"
|
"zip"
|
"pkg"
|
"asar"
|
"javascript-bundle"
|
"mach-o-universal"
|
"mach-o"
|
"elf"
|
"pe"
|
"hopper"
|
"analysis-database"
|
"ipa"
|
"apk"
;
local_path
:
string
;
name
:
string
;
}
|
null
;
}
;
}
;
title
:
"Compare authenticated static and reconciled application graphs"
;
}
,
]
;
inputSchema
:
ZodObject
<
{
left
:
ZodObject
<
{
analysis_profile
:
ZodOptional
<
ZodObject
<
{
digest
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
provider
:
ZodObject
<
{
id
:
...
;
name
:
...
;
version
:
...
}
,
$strip
>
;
provider_profile_schema_version
:
ZodNumber
;
schema_version
:
ZodLiteral
<
1
>
;
}
,
$strip
,
>
,
>
;
authority
:
ZodEnum
<
{
"analyst-inference"
:
"analyst-inference"
;
"controlled-replay"
:
"controlled-replay"
;
"external-service"
:
"external-service"
;
"historical-reference"
:
"historical-reference"
;
"shipped-artifact"
:
"shipped-artifact"
;
}
,
>
;
confidence
:
ZodEnum
<
{
derived
:
"derived"
;
inferred
:
"inferred"
;
observed
:
"observed"
}
,
>
;
environment
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodString
;
id
:
ZodString
;
isolation
:
ZodEnum
<
{
container
:
...
;
none
:
...
;
process
:
...
;
"virtual-machine"
:
...
;
}
,
>
;
platform
:
ZodString
;
}
,
$strip
,
>
,
>
;
evidence_id
:
ZodString
;
evidence_links
:
ZodArray
<
ZodString
>
;
limitations
:
ZodArray
<
ZodString
>
;
locations
:
ZodArray
<
ZodDiscriminatedUnion
<
[
ZodObject
<
{
address
:
...
;
kind
:
...
}
,
$strip
>
,
ZodObject
<
{
end
:
...
;
kind
:
...
;
start
:
...
}
,
$strip
>
,
ZodObject
<
{
kind
:
...
;
path
:
...
}
,
$strip
>
,
ZodObject
<
{
kind
:
...
;
offset
:
...
}
,
$strip
>
,
ZodObject
<
{
end
:
...
;
kind
:
...
;
start
:
...
}
,
$strip
>
,
]
,
"kind"
,
>
,
>
;
normalized_result
:
ZodJSONSchema
;
operation
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
predicate_type
:
ZodString
;
provider
:
ZodObject
<
{
id
:
ZodString
;
name
:
ZodString
;
version
:
ZodNullable
<
ZodString
>
;
}
,
$strip
,
>
;
raw_result
:
ZodNullable
<
ZodJSONSchema
>
;
schema_version
:
ZodLiteral
<
2
>
;
subject
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodNullable
<
ZodEnum
<
(...)
>
>
;
digest
:
ZodObject
<
{
sha256
:
...
}
,
$strip
>
;
format
:
ZodEnum
<
{
"analysis-database"
:
...
;
apk
:
...
;
asar
:
...
;
directory
:
...
;
dmg
:
...
;
elf
:
...
;
entitlements
:
...
;
file
:
...
;
hopper
:
...
;
ipa
:
...
;
javascript
:
...
;
"javascript-bundle"
:
...
;
"mach-o"
:
...
;
"mach-o-universal"
:
...
;
pe
:
...
;
pkg
:
...
;
plist
:
...
;
"source-map"
:
...
;
unknown
:
...
;
zip
:
...
;
}
,
>
;
local_path
:
ZodString
;
name
:
ZodString
;
}
,
$strip
,
>
,
>
;
}
,
$strict
,
>
;
left_native_observations
:
ZodDefault
<
ZodArray
<
ZodObject
<
{
analysis_profile
:
ZodOptional
<
ZodObject
<
{
digest
:
...
;
parameters
:
...
;
provider
:
...
;
provider_profile_schema_version
:
...
;
schema_version
:
...
;
}
,
$strip
,
>
,
>
;
authority
:
ZodEnum
<
{
"analyst-inference"
:
"analyst-inference"
;
"controlled-replay"
:
"controlled-replay"
;
"external-service"
:
"external-service"
;
"historical-reference"
:
"historical-reference"
;
"shipped-artifact"
:
"shipped-artifact"
;
}
,
>
;
confidence
:
ZodEnum
<
{
derived
:
"derived"
;
inferred
:
"inferred"
;
observed
:
"observed"
;
}
,
>
;
environment
:
ZodNullable
<
ZodObject
<
{
architecture
:
...
;
id
:
...
;
isolation
:
...
;
platform
:
...
}
,
$strip
,
>
,
>
;
evidence_id
:
ZodString
;
evidence_links
:
ZodArray
<
ZodString
>
;
limitations
:
ZodArray
<
ZodString
>
;
locations
:
ZodArray
<
ZodDiscriminatedUnion
<
[
(...)
,
(...)
,
(...)
,
(...)
,
(...)
]
,
"kind"
,
>
,
>
;
normalized_result
:
ZodJSONSchema
;
operation
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
predicate_type
:
ZodString
;
provider
:
ZodObject
<
{
id
:
ZodString
;
name
:
ZodString
;
version
:
ZodNullable
<
(...)
>
}
,
$strip
,
>
;
raw_result
:
ZodNullable
<
ZodJSONSchema
>
;
schema_version
:
ZodLiteral
<
2
>
;
subject
:
ZodNullable
<
ZodObject
<
{
architecture
:
...
;
digest
:
...
;
format
:
...
;
local_path
:
...
;
name
:
...
;
}
,
$strip
,
>
,
>
;
}
,
$strict
,
>
,
>
,
>
;
limits
:
ZodDefault
<
ZodObject
<
{
max_candidate_nodes
:
ZodDefault
<
ZodNumber
>
;
max_comparison_items
:
ZodDefault
<
ZodNumber
>
;
max_graph_edges
:
ZodDefault
<
ZodNumber
>
;
max_graph_nodes
:
ZodDefault
<
ZodNumber
>
;
}
,
$strict
,
>
,
>
;
right
:
ZodObject
<
{
analysis_profile
:
ZodOptional
<
ZodObject
<
{
digest
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
provider
:
ZodObject
<
{
id
:
...
;
name
:
...
;
version
:
...
}
,
$strip
>
;
provider_profile_schema_version
:
ZodNumber
;
schema_version
:
ZodLiteral
<
1
>
;
}
,
$strip
,
>
,
>
;
authority
:
ZodEnum
<
{
"analyst-inference"
:
"analyst-inference"
;
"controlled-replay"
:
"controlled-replay"
;
"external-service"
:
"external-service"
;
"historical-reference"
:
"historical-reference"
;
"shipped-artifact"
:
"shipped-artifact"
;
}
,
>
;
confidence
:
ZodEnum
<
{
derived
:
"derived"
;
inferred
:
"inferred"
;
observed
:
"observed"
}
,
>
;
environment
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodString
;
id
:
ZodString
;
isolation
:
ZodEnum
<
{
container
:
...
;
none
:
...
;
process
:
...
;
"virtual-machine"
:
...
;
}
,
>
;
platform
:
ZodString
;
}
,
$strip
,
>
,
>
;
evidence_id
:
ZodString
;
evidence_links
:
ZodArray
<
ZodString
>
;
limitations
:
ZodArray
<
ZodString
>
;
locations
:
ZodArray
<
ZodDiscriminatedUnion
<
[
ZodObject
<
{
address
:
...
;
kind
:
...
}
,
$strip
>
,
ZodObject
<
{
end
:
...
;
kind
:
...
;
start
:
...
}
,
$strip
>
,
ZodObject
<
{
kind
:
...
;
path
:
...
}
,
$strip
>
,
ZodObject
<
{
kind
:
...
;
offset
:
...
}
,
$strip
>
,
ZodObject
<
{
end
:
...
;
kind
:
...
;
start
:
...
}
,
$strip
>
,
]
,
"kind"
,
>
,
>
;
normalized_result
:
ZodJSONSchema
;
operation
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
predicate_type
:
ZodString
;
provider
:
ZodObject
<
{
id
:
ZodString
;
name
:
ZodString
;
version
:
ZodNullable
<
ZodString
>
;
}
,
$strip
,
>
;
raw_result
:
ZodNullable
<
ZodJSONSchema
>
;
schema_version
:
ZodLiteral
<
2
>
;
subject
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodNullable
<
ZodEnum
<
(...)
>
>
;
digest
:
ZodObject
<
{
sha256
:
...
}
,
$strip
>
;
format
:
ZodEnum
<
{
"analysis-database"
:
...
;
apk
:
...
;
asar
:
...
;
directory
:
...
;
dmg
:
...
;
elf
:
...
;
entitlements
:
...
;
file
:
...
;
hopper
:
...
;
ipa
:
...
;
javascript
:
...
;
"javascript-bundle"
:
...
;
"mach-o"
:
...
;
"mach-o-universal"
:
...
;
pe
:
...
;
pkg
:
...
;
plist
:
...
;
"source-map"
:
...
;
unknown
:
...
;
zip
:
...
;
}
,
>
;
local_path
:
ZodString
;
name
:
ZodString
;
}
,
$strip
,
>
,
>
;
}
,
$strict
,
>
;
right_native_observations
:
ZodDefault
<
ZodArray
<
ZodObject
<
{
analysis_profile
:
ZodOptional
<
ZodObject
<
{
digest
:
...
;
parameters
:
...
;
provider
:
...
;
provider_profile_schema_version
:
...
;
schema_version
:
...
;
}
,
$strip
,
>
,
>
;
authority
:
ZodEnum
<
{
"analyst-inference"
:
"analyst-inference"
;
"controlled-replay"
:
"controlled-replay"
;
"external-service"
:
"external-service"
;
"historical-reference"
:
"historical-reference"
;
"shipped-artifact"
:
"shipped-artifact"
;
}
,
>
;
confidence
:
ZodEnum
<
{
derived
:
"derived"
;
inferred
:
"inferred"
;
observed
:
"observed"
;
}
,
>
;
environment
:
ZodNullable
<
ZodObject
<
{
architecture
:
...
;
id
:
...
;
isolation
:
...
;
platform
:
...
}
,
$strip
,
>
,
>
;
evidence_id
:
ZodString
;
evidence_links
:
ZodArray
<
ZodString
>
;
limitations
:
ZodArray
<
ZodString
>
;
locations
:
ZodArray
<
ZodDiscriminatedUnion
<
[
(...)
,
(...)
,
(...)
,
(...)
,
(...)
]
,
"kind"
,
>
,
>
;
normalized_result
:
ZodJSONSchema
;
operation
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
predicate_type
:
ZodString
;
provider
:
ZodObject
<
{
id
:
ZodString
;
name
:
ZodString
;
version
:
ZodNullable
<
(...)
>
}
,
$strip
,
>
;
raw_result
:
ZodNullable
<
ZodJSONSchema
>
;
schema_version
:
ZodLiteral
<
2
>
;
subject
:
ZodNullable
<
ZodObject
<
{
architecture
:
...
;
digest
:
...
;
format
:
...
;
local_path
:
...
;
name
:
...
;
}
,
$strip
,
>
,
>
;
}
,
$strict
,
>
,
>
,
>
;
unknown_registry_approved
:
ZodOptional
<
ZodLiteral
<
true
>
>
;
}
,
$strict
,
>
;
kind
:
"application"
;
name
:
"compare_application_versions"
;
outputSchema
:
ZodObject
<
{
analysis_profile
:
ZodOptional
<
ZodObject
<
{
digest
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
provider
:
ZodObject
<
{
id
:
ZodString
;
name
:
ZodString
;
version
:
ZodString
}
,
$strip
,
>
;
provider_profile_schema_version
:
ZodNumber
;
schema_version
:
ZodLiteral
<
1
>
;
}
,
$strip
,
>
,
>
;
authority
:
ZodEnum
<
{
"analyst-inference"
:
"analyst-inference"
;
"controlled-replay"
:
"controlled-replay"
;
"external-service"
:
"external-service"
;
"historical-reference"
:
"historical-reference"
;
"shipped-artifact"
:
"shipped-artifact"
;
}
,
>
;
confidence
:
ZodEnum
<
{
derived
:
"derived"
;
inferred
:
"inferred"
;
observed
:
"observed"
}
,
>
;
environment
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodString
;
id
:
ZodString
;
isolation
:
ZodEnum
<
{
container
:
"container"
;
none
:
"none"
;
process
:
"process"
;
"virtual-machine"
:
"virtual-machine"
;
}
,
>
;
platform
:
ZodString
;
}
,
$strip
,
>
,
>
;
evidence_id
:
ZodString
;
evidence_links
:
ZodArray
<
ZodString
>
;
limitations
:
ZodArray
<
ZodString
>
;
locations
:
ZodArray
<
ZodDiscriminatedUnion
<
[
ZodObject
<
{
address
:
ZodString
;
kind
:
ZodLiteral
<
"address"
>
}
,
$strip
,
>
,
ZodObject
<
{
end
:
ZodString
;
kind
:
ZodLiteral
<
"address-range"
>
;
start
:
ZodString
;
}
,
$strip
,
>
,
ZodObject
<
{
kind
:
ZodLiteral
<
"artifact-path"
>
;
path
:
ZodString
}
,
$strip
,
>
,
ZodObject
<
{
kind
:
ZodLiteral
<
"file-offset"
>
;
offset
:
ZodNumber
}
,
$strip
,
>
,
ZodObject
<
{
end
:
ZodNumber
;
kind
:
ZodLiteral
<
"file-offset-range"
>
;
start
:
ZodNumber
;
}
,
$strip
,
>
,
]
,
"kind"
,
>
,
>
;
normalized_result
:
ZodObject
<
{
comparison_id
:
ZodString
;
coverage
:
ZodObject
<
{
left_graph_status
:
ZodEnum
<
{
complete
:
"complete"
;
partial
:
"partial"
;
unavailable
:
"unavailable"
;
unknown
:
"unknown"
;
}
,
>
;
omitted_candidate_references
:
ZodNumber
;
omitted_comparison_items
:
ZodNumber
;
omitted_graph_edges
:
ZodNumber
;
omitted_graph_nodes
:
ZodNumber
;
omitted_graph_observations
:
ZodNumber
;
right_graph_status
:
ZodEnum
<
{
complete
:
"complete"
;
partial
:
"partial"
;
unavailable
:
"unavailable"
;
unknown
:
"unknown"
;
}
,
>
;
status
:
ZodEnum
<
{
"complete-within-inputs"
:
"complete-within-inputs"
;
partial
:
"partial"
;
truncated
:
"truncated"
;
}
,
>
;
}
,
$strict
,
>
;
evidence_links
:
ZodArray
<
ZodString
>
;
graph
:
ZodObject
<
{
coverage
:
ZodObject
<
{
limits
:
ZodArray
<
(...)
>
;
omitted_count
:
ZodNullable
<
(...)
>
;
status
:
ZodEnum
<
(...)
>
;
truncated
:
ZodBoolean
;
}
,
$strict
,
>
;
edges
:
ZodArray
<
ZodObject
<
{
edge_id
:
...
;
evidence
:
...
;
identifier_strategy
:
...
;
properties
:
...
;
relation
:
...
;
source_node_id
:
...
;
target_node_id
:
...
;
}
,
$strict
,
>
,
>
;
graph_id
:
ZodString
;
limitations
:
ZodArray
<
ZodString
>
;
nodes
:
ZodArray
<
ZodObject
<
{
identity
:
...
;
kind
:
...
;
node_id
:
...
;
observations
:
...
}
,
$strict
,
>
,
>
;
root_node_ids
:
ZodArray
<
ZodString
>
;
schema
:
ZodLiteral
<
"JavaScriptApplicationGraph"
>
;
schema_version
:
ZodLiteral
<
1
>
;
}
,
$strict
,
>
;
items
:
ZodArray
<
ZodObject
<
{
dimensions
:
ZodArray
<
ZodEnum
<
(...)
>
>
;
evidence_links
:
ZodArray
<
ZodString
>
;
item_id
:
ZodString
;
left_node_id
:
ZodNullable
<
ZodString
>
;
limitations
:
ZodArray
<
ZodString
>
;
match
:
ZodObject
<
{
basis
:
...
;
candidate_left_node_ids
:
...
;
candidate_right_node_ids
:
...
;
confidence
:
...
;
status
:
...
;
}
,
$strict
,
>
;
node_kind
:
ZodEnum
<
{
artifact
:
...
;
"asar-entry"
:
...
;
"browser-window"
:
...
;
"context-bridge-api"
:
...
;
"electron-main"
:
...
;
"electron-preload"
:
...
;
"electron-renderer"
:
...
;
"electron-utility"
:
...
;
endpoint
:
...
;
frame
:
...
;
installer
:
...
;
"ipc-channel"
:
...
;
"ipc-handler"
:
...
;
"javascript-asset"
:
...
;
"javascript-chunk"
:
...
;
"javascript-module"
:
...
;
"native-addon"
:
...
;
"native-export"
:
...
;
package
:
...
;
"runtime-script-instance"
:
...
;
"service-worker"
:
...
;
"source-map"
:
...
;
"source-module"
:
...
;
storage
:
...
;
target
:
...
;
unknown
:
...
;
worker
:
...
;
}
,
>
;
right_node_id
:
ZodNullable
<
ZodString
>
;
status
:
ZodEnum
<
{
added
:
...
;
changed
:
...
;
removed
:
...
;
unchanged
:
...
;
unknown
:
...
;
}
,
>
;
}
,
$strict
,
>
,
>
;
left
:
ZodObject
<
{
evidence_id
:
ZodString
;
graph_id
:
ZodString
;
root_artifact_sha256
:
ZodString
;
}
,
$strict
,
>
;
limitations
:
ZodArray
<
ZodString
>
;
matching
:
ZodObject
<
{
ambiguous
:
ZodNumber
;
exact_content_digest
:
ZodNumber
;
exact_module_source_digest
:
ZodNumber
;
exact_node_identity
:
ZodNumber
;
semantic_key
:
ZodNumber
;
source_map_identity
:
ZodNumber
;
structural_fingerprint
:
ZodNumber
;
unmatched
:
ZodNumber
;
}
,
$strict
,
>
;
right
:
ZodObject
<
{
evidence_id
:
ZodString
;
graph_id
:
ZodString
;
root_artifact_sha256
:
ZodString
;
}
,
$strict
,
>
;
schema_version
:
ZodLiteral
<
1
>
;
summary
:
ZodObject
<
{
added
:
ZodNumber
;
changed
:
ZodNumber
;
removed
:
ZodNumber
;
unchanged
:
ZodNumber
;
unknown
:
ZodNumber
;
}
,
$strict
,
>
;
}
,
$strict
,
>
;
operation
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
predicate_type
:
ZodString
;
provider
:
ZodObject
<
{
id
:
ZodString
;
name
:
ZodString
;
version
:
ZodNullable
<
ZodString
>
}
,
$strip
,
>
;
raw_result
:
ZodNullable
<
ZodJSONSchema
>
;
schema_version
:
ZodLiteral
<
2
>
;
subject
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodNullable
<
ZodEnum
<
{
arm
:
"arm"
;
arm64
:
"arm64"
;
x86
:
"x86"
;
x86_64
:
"x86_64"
}
,
>
,
>
;
digest
:
ZodObject
<
{
sha256
:
ZodString
}
,
$strip
>
;
format
:
ZodEnum
<
{
"analysis-database"
:
"analysis-database"
;
apk
:
"apk"
;
asar
:
"asar"
;
directory
:
"directory"
;
dmg
:
"dmg"
;
elf
:
"elf"
;
entitlements
:
"entitlements"
;
file
:
"file"
;
hopper
:
"hopper"
;
ipa
:
"ipa"
;
javascript
:
"javascript"
;
"javascript-bundle"
:
"javascript-bundle"
;
"mach-o"
:
"mach-o"
;
"mach-o-universal"
:
"mach-o-universal"
;
pe
:
"pe"
;
pkg
:
"pkg"
;
plist
:
"plist"
;
"source-map"
:
"source-map"
;
unknown
:
"unknown"
;
zip
:
"zip"
;
}
,
>
;
local_path
:
ZodString
;
name
:
ZodString
;
}
,
$strip
,
>
,
>
;
}
,
$strict
,
>
;
}
,
{
annotations
:
{
destructiveHint
:
true
;
idempotentHint
:
true
;
openWorldHint
:
false
;
readOnlyHint
:
false
;
}
;
description
:
"Plan or execute a content-bound extracted-module JavaScript replay inside the Linux Bubblewrap, seccomp, and cgroup boundary. Execution requires approved: true and the exact plan digest. Supports deterministic boundary cases and optional left/right differential comparison; observations have controlled-replay authority and do not claim real application runtime behavior."
;
examples
:
readonly
[
{
input
:
{
approved
:
false
;
cases
:
[
{
arguments
:
[
""
]
;
case_id
:
"empty"
}
]
;
determinism
:
{
clock_iso
:
"2000-01-01T00:00:00.000Z"
;
locale
:
"en-US"
;
platform
:
"linux"
;
random_seed
:
0
;
timezone
:
"UTC"
;
}
;
left
:
{
entry_alias
:
"parser"
;
entry_export
:
"default"
;
modules
:
[
{
alias
:
"parser"
;
dependencies
:
{}
;
format
:
"esm"
;
path
:
"/approved/parser.mjs"
;
role
:
"module"
;
}
,
]
;
}
;
limits
:
{
cpu_quota_percent
:
50
;
input_bytes
:
262144
;
memory_bytes
:
134217728
;
module_bytes
:
4194304
;
output_bytes
:
524288
;
protocol_bytes
:
16777216
;
result_depth
:
16
;
result_nodes
:
10000
;
stderr_bytes
:
32768
;
tasks
:
8
;
tmpfs_bytes
:
16777216
;
wall_time_ms
:
3000
;
}
;
mode
:
"plan"
;
}
;
title
:
"Plan one extracted ESM parser replay"
;
}
,
]
;
inputSchema
:
ZodObject
<
{
approved
:
ZodDefault
<
ZodBoolean
>
;
cases
:
ZodDefault
<
ZodArray
<
ZodObject
<
{
arguments
:
ZodArray
<
ZodJSONSchema
>
;
case_id
:
ZodString
}
,
$strict
,
>
,
>
,
>
;
determinism
:
ZodDefault
<
ZodObject
<
{
clock_iso
:
ZodDefault
<
ZodISODateTime
>
;
locale
:
ZodDefault
<
ZodLiteral
<
"en-US"
>
>
;
platform
:
ZodDefault
<
ZodLiteral
<
"linux"
>
>
;
random_seed
:
ZodDefault
<
ZodNumber
>
;
timezone
:
ZodDefault
<
ZodLiteral
<
"UTC"
>
>
;
}
,
$strict
,
>
,
>
;
generator
:
ZodOptional
<
ZodObject
<
{
count
:
ZodNumber
;
preset
:
ZodEnum
<
{
"clipboard-boundaries"
:
"clipboard-boundaries"
;
"parser-boundaries"
:
"parser-boundaries"
;
"sanitizer-boundaries"
:
"sanitizer-boundaries"
;
}
,
>
;
seed
:
ZodNumber
;
}
,
$strict
,
>
,
>
;
left
:
ZodObject
<
{
entry_alias
:
ZodString
;
entry_export
:
ZodDefault
<
ZodString
>
;
modules
:
ZodArray
<
ZodObject
<
{
alias
:
ZodString
;
dependencies
:
ZodDefault
<
ZodRecord
<
(...)
,
(...)
>
>
;
format
:
ZodEnum
<
{
"commonjs-factory"
:
...
;
esm
:
...
}
>
;
path
:
ZodString
;
role
:
ZodDefault
<
ZodEnum
<
(...)
>
>
;
}
,
$strict
,
>
,
>
;
}
,
$strict
,
>
;
limits
:
ZodDefault
<
ZodObject
<
{
cpu_quota_percent
:
ZodDefault
<
ZodNumber
>
;
input_bytes
:
ZodDefault
<
ZodNumber
>
;
memory_bytes
:
ZodDefault
<
ZodNumber
>
;
module_bytes
:
ZodDefault
<
ZodNumber
>
;
output_bytes
:
ZodDefault
<
ZodNumber
>
;
protocol_bytes
:
ZodDefault
<
ZodNumber
>
;
result_depth
:
ZodDefault
<
ZodNumber
>
;
result_nodes
:
ZodDefault
<
ZodNumber
>
;
stderr_bytes
:
ZodDefault
<
ZodNumber
>
;
tasks
:
ZodDefault
<
ZodNumber
>
;
tmpfs_bytes
:
ZodDefault
<
ZodNumber
>
;
wall_time_ms
:
ZodDefault
<
ZodNumber
>
;
}
,
$strict
,
>
,
>
;
mode
:
ZodEnum
<
{
execute
:
"execute"
;
plan
:
"plan"
}
>
;
plan_digest
:
ZodOptional
<
ZodString
>
;
reproducer_export
:
ZodOptional
<
ZodObject
<
{
approved
:
ZodBoolean
;
include_sources
:
ZodDefault
<
ZodBoolean
>
;
path
:
ZodString
;
}
,
$strict
,
>
,
>
;
right
:
ZodOptional
<
ZodObject
<
{
entry_alias
:
ZodString
;
entry_export
:
ZodDefault
<
ZodString
>
;
modules
:
ZodArray
<
ZodObject
<
{
alias
:
ZodString
;
dependencies
:
ZodDefault
<
(...)
>
;
format
:
ZodEnum
<
(...)
>
;
path
:
ZodString
;
role
:
ZodDefault
<
(...)
>
;
}
,
$strict
,
>
,
>
;
}
,
$strict
,
>
,
>
;
}
,
$strict
,
>
;
kind
:
"application"
;
name
:
"run_controlled_replay"
;
outputSchema
:
ZodObject
<
{
evidence
:
ZodNullable
<
ZodObject
<
{
analysis_profile
:
ZodOptional
<
ZodObject
<
{
digest
:
ZodString
;
parameters
:
ZodRecord
<
(...)
,
(...)
>
;
provider
:
ZodObject
<
(...)
,
(...)
>
;
provider_profile_schema_version
:
ZodNumber
;
schema_version
:
ZodLiteral
<
(...)
>
;
}
,
$strip
,
>
,
>
;
authority
:
ZodEnum
<
{
"analyst-inference"
:
"analyst-inference"
;
"controlled-replay"
:
"controlled-replay"
;
"external-service"
:
"external-service"
;
"historical-reference"
:
"historical-reference"
;
"shipped-artifact"
:
"shipped-artifact"
;
}
,
>
;
confidence
:
ZodEnum
<
{
derived
:
"derived"
;
inferred
:
"inferred"
;
observed
:
"observed"
;
}
,
>
;
environment
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodString
;
id
:
ZodString
;
isolation
:
ZodEnum
<
(...)
>
;
platform
:
ZodString
;
}
,
$strip
,
>
,
>
;
evidence_id
:
ZodString
;
evidence_links
:
ZodArray
<
ZodString
>
;
limitations
:
ZodArray
<
ZodString
>
;
locations
:
ZodArray
<
ZodDiscriminatedUnion
<
[
ZodObject
<
(...)
,
(...)
>
,
ZodObject
<
(...)
,
(...)
>
,
ZodObject
<
(...)
,
(...)
>
,
ZodObject
<
(...)
,
(...)
>
,
ZodObject
<
(...)
,
(...)
>
,
]
,
"kind"
,
>
,
>
;
normalized_result
:
ZodObject
<
{
cleanup
:
ZodObject
<
{
residual_resources
:
...
;
state
:
...
}
,
$strict
,
>
;
comparison
:
ZodOptional
<
ZodArray
<
(...)
>
>
;
limitations
:
ZodArray
<
ZodString
>
;
outcomes
:
ZodArray
<
ZodObject
<
(...)
,
(...)
>
>
;
plan_digest
:
ZodString
;
reproducer
:
ZodNullable
<
ZodDiscriminatedUnion
<
(...)
,
(...)
>
>
;
schema_version
:
ZodLiteral
<
1
>
;
stderr
:
ZodString
;
termination
:
ZodEnum
<
{
cancelled
:
...
;
completed
:
...
;
crash
:
...
;
oom
:
...
;
protocol_error
:
...
;
timeout
:
...
;
}
,
>
;
}
,
$strict
,
>
;
operation
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
predicate_type
:
ZodString
;
provider
:
ZodObject
<
{
id
:
ZodString
;
name
:
ZodString
;
version
:
ZodNullable
<
ZodString
>
;
}
,
$strip
,
>
;
raw_result
:
ZodNullable
<
ZodJSONSchema
>
;
schema_version
:
ZodLiteral
<
2
>
;
subject
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodNullable
<
(...)
>
;
digest
:
ZodObject
<
(...)
,
(...)
>
;
format
:
ZodEnum
<
(...)
>
;
local_path
:
ZodString
;
name
:
ZodString
;
}
,
$strip
,
>
,
>
;
}
,
$strict
,
>
,
>
;
phase
:
ZodEnum
<
{
execute
:
"execute"
;
plan
:
"plan"
}
>
;
plan
:
ZodNullable
<
ZodObject
<
{
cases
:
ZodArray
<
ZodObject
<
{
arguments
:
ZodArray
<
(...)
>
;
case_id
:
ZodString
;
sha256
:
ZodString
;
}
,
$strict
,
>
,
>
;
determinism
:
ZodObject
<
{
clock_iso
:
ZodDefault
<
ZodISODateTime
>
;
locale
:
ZodDefault
<
ZodLiteral
<
(...)
>
>
;
platform
:
ZodDefault
<
ZodLiteral
<
(...)
>
>
;
random_seed
:
ZodDefault
<
ZodNumber
>
;
timezone
:
ZodDefault
<
ZodLiteral
<
(...)
>
>
;
}
,
$strict
,
>
;
effects
:
ZodArray
<
ZodString
>
;
filesystem
:
ZodObject
<
{
host_writes
:
ZodLiteral
<
false
>
;
private_tmpfs_bytes
:
ZodNumber
;
}
,
$strict
,
>
;
left
:
ZodObject
<
{
entry_alias
:
ZodString
;
entry_export
:
ZodString
;
modules
:
ZodArray
<
ZodObject
<
(...)
,
(...)
>
>
;
}
,
$strict
,
>
;
limits
:
ZodObject
<
{
cpu_quota_percent
:
ZodDefault
<
ZodNumber
>
;
input_bytes
:
ZodDefault
<
ZodNumber
>
;
memory_bytes
:
ZodDefault
<
ZodNumber
>
;
module_bytes
:
ZodDefault
<
ZodNumber
>
;
output_bytes
:
ZodDefault
<
ZodNumber
>
;
protocol_bytes
:
ZodDefault
<
ZodNumber
>
;
result_depth
:
ZodDefault
<
ZodNumber
>
;
result_nodes
:
ZodDefault
<
ZodNumber
>
;
stderr_bytes
:
ZodDefault
<
ZodNumber
>
;
tasks
:
ZodDefault
<
ZodNumber
>
;
tmpfs_bytes
:
ZodDefault
<
ZodNumber
>
;
wall_time_ms
:
ZodDefault
<
ZodNumber
>
;
}
,
$strict
,
>
;
network
:
ZodLiteral
<
"none"
>
;
plan_digest
:
ZodString
;
policy_sha256
:
ZodString
;
policy_version
:
ZodLiteral
<
"linux-bwrap-systemd-v1"
>
;
reproducer_export
:
ZodNullable
<
ZodObject
<
{
authority
:
ZodLiteral
<
(...)
>
;
include_sources
:
ZodBoolean
;
path
:
ZodString
;
}
,
$strict
,
>
,
>
;
right
:
ZodOptional
<
ZodObject
<
{
entry_alias
:
ZodString
;
entry_export
:
ZodString
;
modules
:
ZodArray
<
(...)
>
;
}
,
$strict
,
>
,
>
;
runtime
:
ZodObject
<
{
executable
:
ZodObject
<
{
path
:
...
;
sha256
:
...
;
version
:
...
}
,
$strict
,
>
;
read_only_files
:
ZodArray
<
ZodObject
<
(...)
,
(...)
>
>
;
worker
:
ZodObject
<
{
path
:
...
;
sha256
:
...
;
version
:
...
}
,
$strict
,
>
;
}
,
$strict
,
>
;
sandbox
:
ZodObject
<
{
bubblewrap
:
ZodObject
<
{
path
:
...
;
sha256
:
...
;
version
:
...
}
,
$strict
,
>
;
seccomp_sha256
:
ZodString
;
shell
:
ZodObject
<
{
path
:
...
;
sha256
:
...
;
version
:
...
}
,
$strict
>
;
systemctl
:
ZodObject
<
{
path
:
...
;
sha256
:
...
;
version
:
...
}
,
$strict
,
>
;
systemd_run
:
ZodObject
<
{
path
:
...
;
sha256
:
...
;
version
:
...
}
,
$strict
,
>
;
}
,
$strict
,
>
;
schema_version
:
ZodLiteral
<
1
>
;
}
,
$strict
,
>
,
>
;
source_evidence
:
ZodArray
<
ZodObject
<
{
analysis_profile
:
ZodOptional
<
ZodObject
<
{
digest
:
ZodString
;
parameters
:
ZodRecord
<
(...)
,
(...)
>
;
provider
:
ZodObject
<
(...)
,
(...)
>
;
provider_profile_schema_version
:
ZodNumber
;
schema_version
:
ZodLiteral
<
(...)
>
;
}
,
$strip
,
>
,
>
;
authority
:
ZodEnum
<
{
"analyst-inference"
:
"analyst-inference"
;
"controlled-replay"
:
"controlled-replay"
;
"external-service"
:
"external-service"
;
"historical-reference"
:
"historical-reference"
;
"shipped-artifact"
:
"shipped-artifact"
;
}
,
>
;
confidence
:
ZodEnum
<
{
derived
:
"derived"
;
inferred
:
"inferred"
;
observed
:
"observed"
;
}
,
>
;
environment
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodString
;
id
:
ZodString
;
isolation
:
ZodEnum
<
(...)
>
;
platform
:
ZodString
;
}
,
$strip
,
>
,
>
;
evidence_id
:
ZodString
;
evidence_links
:
ZodArray
<
ZodString
>
;
limitations
:
ZodArray
<
ZodString
>
;
locations
:
ZodArray
<
ZodDiscriminatedUnion
<
[
ZodObject
<
(...)
,
(...)
>
,
ZodObject
<
(...)
,
(...)
>
,
ZodObject
<
(...)
,
(...)
>
,
ZodObject
<
(...)
,
(...)
>
,
ZodObject
<
(...)
,
(...)
>
,
]
,
"kind"
,
>
,
>
;
normalized_result
:
ZodObject
<
{
cleanup
:
ZodObject
<
{
residual_resources
:
...
;
state
:
...
}
,
$strict
,
>
;
comparison
:
ZodOptional
<
ZodArray
<
(...)
>
>
;
limitations
:
ZodArray
<
ZodString
>
;
outcomes
:
ZodArray
<
ZodObject
<
(...)
,
(...)
>
>
;
plan_digest
:
ZodString
;
reproducer
:
ZodNullable
<
ZodDiscriminatedUnion
<
(...)
,
(...)
>
>
;
schema_version
:
ZodLiteral
<
1
>
;
stderr
:
ZodString
;
termination
:
ZodEnum
<
{
cancelled
:
...
;
completed
:
...
;
crash
:
...
;
oom
:
...
;
protocol_error
:
...
;
timeout
:
...
;
}
,
>
;
}
,
$strict
,
>
;
operation
:
ZodString
;
parameters
:
ZodRecord
<
ZodString
,
ZodJSONSchema
>
;
predicate_type
:
ZodString
;
provider
:
ZodObject
<
{
id
:
ZodString
;
name
:
ZodString
;
version
:
ZodNullable
<
ZodString
>
;
}
,
$strip
,
>
;
raw_result
:
ZodNullable
<
ZodJSONSchema
>
;
schema_version
:
ZodLiteral
<
2
>
;
subject
:
ZodNullable
<
ZodObject
<
{
architecture
:
ZodNullable
<
(...)
>
;
digest
:
ZodObject
<
(...)
,
(...)
>
;
format
:
ZodEnum
<
(...)
>
;
local_path
:
ZodString
;
name
:
ZodString
;
}
,
$strip
,
>
,
>
;
}
,
$strict
,
>
,
>
;
}
,
$strict
,
>
;
}
,
ToolContract
<
"open_binary"
>
,
ToolContract
<
"close_binary"
>
,
ToolContract
<
"binary_session"
>
,
ToolContract
<
"export_evidence_bundle"
>
,
ToolContract
<
"import_evidence_bundle"
>
,
ToolContract
<
"capture_process_scenario"
>
,
ToolContract
<
"compare_process_captures"
>
,
ToolContract
<
"compare_artifacts"
>
,
ToolContract
<
"compare_functions"
>
,
ToolContract
<
"compare_bundles"
>
,
ToolContract
<
"find_changed_behavior"
>
,
ToolContract
<
"build_call_path"
>
,
ToolContract
<
"correlate_static_and_runtime"
>
,
ToolContract
<
"verify_reconstruction"
>
,
ToolContract
<
"list_unknowns"
>
,
ToolContract
<
"record_unknown"
>
,
ToolContract
<
"update_unknown"
>
,
ToolContract
<
"verify_unknown_resolution"
>
,
]
= ...
Complete ordered public inventory used by registration and verification.
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
rea-agents - v1.7.0
Loading...
Complete ordered public inventory used by registration and verification.