web_lookup
Look up web documentation, API references, error messages, and current versions by querying Claude with web access to get information beyond training data.
Instructions
Delegate a web/documentation lookup to Claude (with web access): library docs, API references, error messages, current versions. Use when you need information that may be newer than your training data.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "web_lookup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | What to look up on the web. | |
| cwd | No | Absolute path to the project root. Defaults to the server's cwd. | |
| model | No | Claude model alias or full name (e.g. 'opus', 'sonnet', 'haiku'). Omit to use the default. | |
| effort | No | Reasoning effort: 'low' | 'medium' | 'high'. Higher = deeper, slower, costlier. |