openclaw - 💡(How to fix) Fix [Bug]: `web_search` tool is broken (keeps trying using `queries` property instead of `query`) [1 pull requests]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…

Web searches used to work, but now, out of the blue, the claw refuses to search things on the web, it keeps using the syntax:

{
  "queries": [
    "<query_goes_here>"
  ]
}

Which is incorrect, instead of

{
  "query": "<query_goes_here>"
}

I tried modifiying the TOOLS.md file, appending this:

Root Cause

Web searches used to work, but now, out of the blue, the claw refuses to search things on the web, it keeps using the syntax:

{
  "queries": [
    "<query_goes_here>"
  ]
}

Which is incorrect, instead of

{
  "query": "<query_goes_here>"
}

I tried modifiying the TOOLS.md file, appending this:

Fix Action

Fixed

Code Example

{
  "queries": [
    "<query_goes_here>"
  ]
}

---

{
  "query": "<query_goes_here>"
}

---

## Tools fixups

### Web search
To make a web search, the proper query is:


{
  "query": "${the_query_goes_here}"
}

---
RAW_BUFFERClick to expand / collapse

Bug type

Regression (worked before, now fails)

Beta release blocker

No

Summary

Web searches used to work, but now, out of the blue, the claw refuses to search things on the web, it keeps using the syntax:

{
  "queries": [
    "<query_goes_here>"
  ]
}

Which is incorrect, instead of

{
  "query": "<query_goes_here>"
}

I tried modifiying the TOOLS.md file, appending this:

## Tools fixups

### Web search
To make a web search, the proper query is:


{
  "query": "${the_query_goes_here}"
}

But it is simply ignored.

Steps to reproduce

  1. Start openclaw
  2. Prompt for a search

Expected behavior

It should use the proper structure.

Actual behavior

<img width="1522" height="591" alt="Image" src="https://github.com/user-attachments/assets/5f0f7585-8fc5-40d3-bbe5-9db475b01a8e" />

OpenClaw version

2026.5.12

Operating system

Debian GNU/Linux 13 (trixie)

Install method

Via the recommended script

Model

gemma4:e4b

Provider / routing chain

openclaw -> ollama -> gemma4

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

It should use the proper structure.

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING