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_in_page).
One of the following:
Search {type, queries, query, sources}
Action type “search” - Performs a web search query.
type: "search"
The action type.
queries?: Array<string>
The search queries.
Deprecatedquery?: string
The search query.
sources?: Array<Source>
The sources used in the search.
type: "url"
The type of source. Always url.
url: string
The URL of the source.
formaturi
OpenPage {type, url}
Action type “open_page” - Opens a specific URL from search results.
type: "open_page"
The action type.
url?: string | null
The URL opened by the model.
formaturi
FindInPage {pattern, type, url}
Action type “find_in_page”: Searches for a pattern within a loaded page.
pattern: string
The pattern or text to search for within the page.
type: "find_in_page"
The action type.
url: string
The URL of the page searched for the pattern.
formaturi
status: "in_progress" | "searching" | "completed" | 2 more
The status of the web search tool call.
One of the following:
"in_progress"
"searching"
"completed"
"failed"
"incomplete"
type: "web_search_call"
The type of the web search tool call. Always web_search_call.