Command reference ยท Claude Code
/web-search
Searches the web for current information and fetches results.
Searches the web for current information and fetches results. [Skill] Without a query, it searches based on context from the last message. Optional hit count <count>.
โ WHEN TO USE IT?
Look up current information
Use /web-search latest React version to fetch information that isn't in the training data.
Search from context without a query
Call /web-search with no query so it searches based on the last message's context.
โ WHEN NOT TO?
A solid, cited basis for a decision is needed
/web-search is a simple web-search skill, not a workflow with source cross-checking and a cited report.
Better: Use /deep-research for a fanned-out, cross-checked, cited report.
SOURCES
- Claude Code Doku (offiziell) โ code.claude.com