sg_resolve_source
Resolves the best image or text input for generating an asset by ranking linked version stills and asset metadata, returning the chosen source or prompting for a selection when multiple candidates tie.
Instructions
Resolve the best generation input (image or description) for an Asset.
Ranks linked Version stills + the Asset thumbnail/description by priority
(image > text; video deferred) and returns resolved (downloaded when
download_path is given), requires_choice (several images tie → call
again with choice), text_only, or no_source. Shared by the
World Labs and Vision3D entry flows; logic lives in source_resolver.py.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |