






























@@ -54,17 +54,41 @@ Legacy `tools.web.search.apiKey` still loads through the compatibility shim, but
54545555## Tool parameters
565657-| Parameter | Description |
58-| ------------- | ------------------------------------------------------------------- |
59-| `query` | Search query (required) |
60-| `count` | Number of results to return (1-10, default: 5) |
61-| `country` | 2-letter ISO country code (e.g., "US", "DE") |
62-| `language` | ISO 639-1 language code for search results (e.g., "en", "de", "fr") |
63-| `search_lang` | Brave search-language code (e.g., `en`, `en-gb`, `zh-hans`) |
64-| `ui_lang` | ISO language code for UI elements |
65-| `freshness` | Time filter: `day` (24h), `week`, `month`, or `year` |
66-| `date_after` | Only results published after this date (YYYY-MM-DD) |
67-| `date_before` | Only results published before this date (YYYY-MM-DD) |
57+<ParamField path="query" type="string" required>
58+Search query.
59+</ParamField>
60+61+<ParamField path="count" type="number" default="5">
62+Number of results to return (1–10).
63+</ParamField>
64+65+<ParamField path="country" type="string">
66+2-letter ISO country code (e.g. `US`, `DE`).
67+</ParamField>
68+69+<ParamField path="language" type="string">
70+ISO 639-1 language code for search results (e.g. `en`, `de`, `fr`).
71+</ParamField>
72+73+<ParamField path="search_lang" type="string">
74+Brave search-language code (e.g. `en`, `en-gb`, `zh-hans`).
75+</ParamField>
76+77+<ParamField path="ui_lang" type="string">
78+ISO language code for UI elements.
79+</ParamField>
80+81+<ParamField path="freshness" type="'day' | 'week' | 'month' | 'year'">
82+Time filter — `day` is 24 hours.
83+</ParamField>
84+85+<ParamField path="date_after" type="string">
86+Only results published after this date (`YYYY-MM-DD`).
87+</ParamField>
88+89+<ParamField path="date_before" type="string">
90+Only results published before this date (`YYYY-MM-DD`).
91+</ParamField>
68926993**Examples:**
7094此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。