Web Search
web_searchSearch the web and return ranked results, with operators like site:, lang:, after:, and before: to refine by domain, language, or publish date.
Instructions
Search the web and return ranked results.
Search operators are passed through inside query:
site:github.com restrict to one site (several: site:a OR site:b)
-site:example.com exclude a site
-keyword exclude pages containing a keyword
"exact phrase" require an exact phrase
-"exact phrase" exclude an exact phrase
lang:zh,en restrict by language
after:2025, before:2026 restrict by publish date (year or YYYY-MM-DD)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of results to return, 1-50. Defaults to the server setting. | |
| query | Yes | Search query, 1-128 characters. Supports search operators such as site:, -site:, lang:, after:, before:, "exact phrase" and -keyword. | |
| need_content | No | When true, include the extracted page body in every result. Off by default because it makes responses much larger. | |
| ori_question | No | Optional original user question (up to 128 characters) that helps the search engine understand the intent behind the query. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||