Beta
Optional
sourcePath?: AgentActionPathOptional
imageUrl?: neverOptional
sourcePath?: AgentActionPathWhen omitted, parent image value will be inferred from the target path.
When specified, the sourcePath
should be a path to an image (or image asset) field:
['image']
['wrapper', 'mainImage']
['heroImage', 'asset'] // the asset segment is optional, but supported
Incompatible with imageUrl
Optional
imageUrl?: `https://${string}`When specified, the image source to be described will be fetched from the URL.
Incompatible with sourcePath
Optional
sourcePath?: never
When omitted, parent image value will be inferred from the arget path.
When specified, the
sourcePath
should be a path to an image (or image asset) field:['image']
['wrapper', 'mainImage']
['heroImage', 'asset'] // the asset segment is optional, but supported