docs: added instructions for enabling web-search manually for codex

This commit is contained in:
Fahad
2025-10-06 11:20:46 +04:00
parent 97ba7e44ce
commit ba348e34d6
2 changed files with 20 additions and 0 deletions

View File

@@ -147,6 +147,15 @@ PATH = "/usr/local/bin:/usr/bin:/bin:/opt/homebrew/bin:$HOME/.local/bin:$HOME/.c
GEMINI_API_KEY = "your_api_key_here" GEMINI_API_KEY = "your_api_key_here"
``` ```
Enable Codex's built-in web-search tool so Zen's `apilookup` instructions can execute successfully:
```toml
[tools]
web_search = true
```
Add the block above if `[tools]` is missing from the file; otherwise ensure `web_search = true` appears in that section.
**For Qwen Code CLI:** **For Qwen Code CLI:**
Create or edit `~/.qwen/settings.json`: Create or edit `~/.qwen/settings.json`:

View File

@@ -95,3 +95,14 @@ The tool returns JSON with:
- `user_prompt`: Your original request - `user_prompt`: Your original request
The AI then performs the actual web searches and synthesizes the results into actionable documentation. The AI then performs the actual web searches and synthesizes the results into actionable documentation.
## Codex CLI Configuration Reminder
If you use Zen through the Codex CLI, the assistant needs Codex's native web-search tool to fetch current documentation. After adding the Zen MCP entry to `~/.codex/config.toml`, confirm the file also contains:
```toml
[tools]
web_search = true
```
If `[tools]` is missing, append the block manually. Without this flag, `apilookup` will keep requesting web searches that Codex cannot execute, and you'll see repeated attempts at using `curl` incorrectly.