Inspect Dom Object
inspect_dom_objectInspect a Premiere Pro DOM object to list its properties, methods, and values for API exploration and debugging; use a property path starting with app or qe.
Instructions
Inspect a Premiere Pro DOM object and list its properties, methods, and values. Useful for exploring the API and debugging. object_path must be a property path starting with app or qe (identifiers and numeric indexes only). Function calls, operators, and statements are rejected; use evaluate_expression with unsafe-script for those.
Examples:
"app.project" → project properties
"app.project.activeSequence" → sequence properties
"app.project.activeSequence.videoTracks[0].clips[0]" → first clip on V1
"app.project.activeSequence.videoTracks[0].clips[0].components[0]" → first component of a clip
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_depth | No | Max depth for nested inspection (default: 1, max: 3) | |
| object_path | Yes | Property path starting with app or qe (e.g. 'app.project.activeSequence.videoTracks[0]'). Function calls and statements are rejected. | |
| expected_cep_target | No | Optional reviewed CEP sequence/clip identity and exact tick ranges. Checked before every generated command; UXP refuses this CEP-only guard. | |
| expected_project_path | No | Optional absolute saved-project path. Every generated CEP command refuses before its body when the active project differs or is unsaved. UXP commands refuse this CEP-only guard; local-only tools do not inspect Premiere. Omit to keep existing behavior. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | Whether the tool completed successfully. | |
| data | No | Tool-specific result data when ok is true; on failure, diagnostic detail when the tool provides it. | |
| tool | Yes | The registered MCP tool name. | |
| error | No | Failure detail when ok is false. | |
| receipt | No | Versioned common mutation receipt; success never implies rendered verification. | |
| idempotency | No | Present when idempotency_key deduplicated this call: replayed is true when the original outcome was returned instead of running again. |