Inspect a scripting object
inspect_dom_objectLists members of a Premiere Pro scripting object—class, properties, and methods—to discover API details before writing ExtendScript code without changing the project.
Instructions
List the members of a Premiere Pro scripting object: class name, property names (optionally with current values) and method names. Use it to discover API members before writing execute_extendscript code. Example paths: "app", "app.project", "app.project.activeSequence.videoTracks[0]", "app.project.activeSequence.getSettings()", "qe.project.getActiveSequence()"; a path starting with "qe" enables the QE DOM first. Only a property path is accepted: names, [index] and get*/is*/has*/can* calls with no argument or one number, so inspecting cannot change anything. Account and credential members (app.anywhere, userGuid) are refused.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"expression": "<expression>"
},
"name": "inspect_dom_object"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_items | No | Maximum properties and, separately, maximum methods returned, 1-1000. Default 300. | |
| expression | Yes | Property path of the object, e.g. "app.project.activeSequence.videoTracks[0]". No arguments, operators or assignments. | |
| include_values | No | Also read each property's current value. Default false. |