Web Search
searchSearch the web and receive a synthesized answer with source URLs. Use for current information, documentation lookups, and research questions.
Instructions
Web search via Codex CLI. Searches the web and synthesizes a comprehensive answer with source URLs. Use for current information, documentation lookups, API references, and research questions.
Tips:
Ask specific, focused questions for best results.
Results include source URLs for verification.
Use maxResponseLength to control response verbosity.
Default timeout is 2 minutes; increase for complex research queries that may require multiple web fetches.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Model to use (e.g. o3, gpt-4.1) | |
| query | Yes | Search query or question | |
| timeout | No | Timeout in milliseconds (default: 120000, max: 600000) | |
| workingDirectory | No | Working directory for the CLI | |
| maxResponseLength | No | Soft limit on response length in words |