OpenAI::WebSearchToolCall
Inherits JSON::Serializable < Reference < Object
The results of a web search tool call. See the web search guide for more information.
Constructors
new(pull : JSON::PullParser)
Sourcenew(id : String = "", type_value : WebSearchToolCallType = WebSearchToolCallType::WebSearchCall, status : WebSearchToolCallStatus = WebSearchToolCallStatus::InProgress, action : WebSearchToolCallAction = WebSearchActionSearch.new)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
action
An object describing the specific action taken in this web search call. Includes details on how the model used the web (search, open_page, find).
action=(action : WebSearchToolCallAction)
An object describing the specific action taken in this web search call. Includes details on how the model used the web (search, open_page, find).
type_value=(type_value : WebSearchToolCallType)
The type of the web search tool call. Always web_search_call.