web_lookup
Delegates web and documentation lookups to fetch library docs, API references, error messages, current versions, and external knowledge when information is missing or newer than training data.
Instructions
Delegate a web/documentation lookup to the Antigravity CLI (Gemini with web access): library docs, API references, error messages, current versions, external knowledge. USE THIS when you need information you don't have or 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 |
|---|---|---|---|
| cwd | No | Absolute path to the working directory / project root. Defaults to the server's cwd. | |
| dirs | No | Extra directories to add to agy's workspace, for cross-repo or worktree-vs-base analysis. | |
| model | No | Override the model. Accepts a display name ("Gemini 4 Neon (High)"), an id ("gemini-4-neon-high"), or a family selector ("gemini-neon@latest-high"). Normally omit — the tool routes automatically. | |
| query | Yes | What to look up on the web. | |
| effort | No | Reasoning tier supported by the selected model in `agy models`. A family selector can choose its listed sibling at this tier. An exact model ID or label fixes the variant: a conflicting effort is rejected. xhigh/max require a listed variant. | |
| schema | No | JSON Schema (as a string) constraining the answer. Returns structuredContent as well as text. Costs noticeably more latency and tokens, so use it only when you will parse the result. | |
| slash_commands | No | Let agy expand your slash commands and skills into the prompt. Off by default: a hostile file in the workspace can otherwise steer the delegated model. |