> ## Documentation Index
> Fetch the complete documentation index at: https://docs.runchat.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Brave Search

> Search the web using the Brave Search API. Returns titles, URLs, and snippets that agents can use to answer questions or pull reference content.

## Overview

This Runchat performs a web search using the Brave Search API and returns a structured JSON response containing web and potentially video results.

## Inputs

* **query** (`string`): The search term or query string.
* **count** (`number`): The desired number of search results to return (max 20).

## Outputs

* **response** (`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.
