web_search
Search the web for current information, documentation, or answers to questions.
Use this when you need:
- Current/up-to-date information (news, prices, versions, etc.)
- Documentation or API references
- Technical solutions or stack overflow answers
- Verify information that may have changed recently
Returns a list of relevant web pages with titles, URLs, and snippets.
Current year: 2026 Read-only: it never changes the workspace and never asks for approval.
Parameters#
| Parameter | Type | Required | Description |
|---|---|---|---|
query |
string |
Yes | The search query (e.g., 'latest nodejs version', 'how to use react hooks') |
numResults |
number |
No | Number of search results to return (default: 5, max: 10) |
Example#
web_search({ query: "…" })
Approval#
Runs without asking. Reads only; never changes the workspace.
See also#
- Tools — every tool, and which of them can change your files
- Approval modes — what gates the tools that change things
Added in woopcode@0.6.0