Searches the web using the Brave Search API.
string
): The search term or query string.number
): The desired number of search results to return (max 20).object
): A JSON object containing the search results from Brave. Key components include:
query
: Details about the processed query.web
: Contains an array results
with web page details (URL, title, description, snippets, metadata).videos
: (If applicable) Contains an array results
with video details.mixed
: An array indicating the order in which different result types (web, videos, etc.) should be displayed.