brave_llm_context
brave_llm_contextSearch the web and return relevance-ranked content chunks for direct answers, with source links for citation; fetch full pages only when context or verification is needed.
Instructions
Search the web with Brave and return pre-extracted, relevance-ranked content chunks (prose, tables, code blocks, structured data). Use the returned content directly when it answers the question; fetch the page only when you need the full context or must verify.
For routine calls, omit the four search budget parameters; the server applies the defaults
shown in their descriptions. Increase a budget only when previous results show that more
source coverage or passage detail is needed. `query` supports site:.
Search rules:
- Unfamiliar subject: first search the subject name plus the core question for an overview,
then verify details as needed; do not search for a given detail directly — check whether
it surfaces naturally in the sources.
- Keep only keywords directly relevant to the current question in `query`; do not pack
context and qualifiers into one query.
- Set `freshness` (pd / pw / pm / py) when recency matters; never hardcode a year in `query`.
- Two consecutive searches with heavily overlapping results mean the direction is exhausted:
change the keyword strategy.
- Search serially; go parallel only when confident of each query.
When relaying results, cite the URL returned with each content item.
Source age, when available, is included with that item; it is not a verified publication date.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Candidate search results to consider. Omit to use the default of 10. | |
| query | Yes | Search keywords; supports site:. At most 400 characters and 50 words. | |
| country | No | Two-letter result region code, e.g. "US"; usually omitted. | |
| goggles | No | Re-ranking rules: a Goggle URL, rule text, or an array of them. | |
| freshness | No | Recency filter: pd = 1 day, pw = 7 days, pm = 31 days, py = 365 days, or YYYY-MM-DDtoYYYY-MM-DD. | |
| search_lang | No | Result language code, e.g. "en" or "zh-hans"; usually omitted. | |
| maximum_number_of_urls | No | Returned source budget. Omit to use the default of 5. | |
| maximum_number_of_tokens | No | Approximate total token budget for returned content. Omit to use the default of 4000. | |
| maximum_number_of_tokens_per_url | No | Token budget per source. Omit to use the default of 800. |