get_package_info
Inspect a loaded Unreal package to read its long name, is_dirty flag, and every UObject with its class, revealing what a .uasset holds besides its namesake asset and whether changes are unsaved.
Instructions
Inspect a package that is ALREADY LOADED IN MEMORY: its long name, its is_dirty flag, and every UObject it contains with that object's class. Answers "what actually lives inside this .uasset, besides the asset named after it?" and "does this package have unsaved changes?". WARNING: it resolves with FindFirstObject over loaded UPackages — a package that is on disk but not loaded is reported as not found; use get_asset_by_name / resolve_asset_by_name for on-disk existence, and list_dirty_packages to sweep every dirty package at once.
Returns: { package_path: string, package_name: string, is_dirty: bool, objects: [{name, class}], object_count: int }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package_path | Yes | Long package name of a LOADED package (e.g. "/Game/MyGame/Systems/Foo/BP_Foo"), matched against loaded UPackage objects |