Class XWebSearch
public class XWebSearch : Tool
- Inheritance
-
objectXWebSearch
Properties
AllowedDomains
Optional. List of website domains to allow in the search results. This parameter act as a whitelist where only those websites can be selected. A maximum of 5 websites can be selected. Note: This parameter cannot be set with excluded_domains.
public List<string> AllowedDomains { get; set; }
Property Value
- List<string>
EnableImageUnderstanding
Optional. Enable image understanding during web search.
public bool? EnableImageUnderstanding { get; set; }
Property Value
- bool?
ExcludedDomains
Optional. List of website domains to exclude from the search results without protocol specification or subdomains. A maximum of 5 websites can be excluded. Note: This parameter cannot be set with allowed_domains
public List<string> ExcludedDomains { get; set; }
Property Value
- List<string>
Type
Required. The type of the tool. Examples: Tool.Function, Tool.FileSearch, Tool.ComputerUsePreview, Tool.WebSearch
public override ToolType Type { get; }