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:
class ActionSearch: …
Action type “search” - Performs a web search query.
type: Literal["search"]
The action type.
queries: Optional[List[str]]
The search queries.
query: Optional[str]
Deprecated.
The search query.
sources: Optional[List[ActionSearchSource]]
The sources used in the search.
type: Literal["url"]
The type of source. Always url.
url: str
The URL of the source.
formaturi
class ActionOpenPage: …
Action type “open_page” - Opens a specific URL from search results.
type: Literal["open_page"]
The action type.
url: Optional[str]
The URL opened by the model.
formaturi
class ActionFindInPage: …
Action type “find_in_page”: Searches for a pattern within a loaded page.
pattern: str
The pattern or text to search for within the page.