What would you like to add or change?
Add a searchWeb tool that takes a query string and
returns web search results as plain text so the agent
can answer questions about current events and live data.
Why would this be useful?
Currently the agent can only fetch a specific URL via
fetchURL. A searchWeb tool would let users ask open
questions like "what is the latest version of Node.js"
without knowing the exact URL to fetch.
Possible implementation
Use a free search API (e.g. DuckDuckGo instant answer
API or SerpAPI) in functions.js and register it in
tools.js following the existing pattern.
What would you like to add or change?
Add a searchWeb tool that takes a query string and
returns web search results as plain text so the agent
can answer questions about current events and live data.
Why would this be useful?
Currently the agent can only fetch a specific URL via
fetchURL. A searchWeb tool would let users ask open
questions like "what is the latest version of Node.js"
without knowing the exact URL to fetch.
Possible implementation
Use a free search API (e.g. DuckDuckGo instant answer
API or SerpAPI) in functions.js and register it in
tools.js following the existing pattern.