Skip to content

Reference

cdp_object_inspect

Inspect a JS object by property path without flattening to JSON. Uses Runtime.getProperties for lazy, handle-based inspection. Good for large objects, cyclic refs, class instances.

NameTypeRequiredDefaultConstraintsDescription
expressionstringYesJS property path or primitive literal to inspect
depthunknownNo1min: 0, max: 3, integerProperty inspection depth (default 1, max 3)
maxPropertiesunknownNo20min: 1, max: 100, integerMax properties per level (default 20)
cdp_object_inspect(expression: <string>)