sg_resolve_source
Resolve the best image or text source for generating an Asset. Ranks image candidates over text, downloads unambiguous images, and returns a choice prompt for ties or a text-only fallback.
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.
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": {
"params": "<params>"
},
"name": "sg_resolve_source"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |