Back to all tools
Free / no key

Web search

Useful for public definitions and well-known facts. Instant Answer is not a full web crawl — for private business knowledge, keep using your knowledge base.

What this tool does

Sometimes customers ask general questions that have nothing to do with your business data: what a treatment term means, where a landmark is or what a public holiday is called. This tool lets your agent look up a short factual answer from DuckDuckGo’s Instant Answer API and use it in the reply. It is not a full web search, so it works best for definitions and well-known topics. Your own prices, policies and services should stay in your knowledge base, where the agent treats them as the source of truth.

Example conversation

Customer

What does PRP mean? My friend said I should ask about it.

Tool callweb_search

query: What does PRP mean

AI agent

PRP stands for platelet-rich plasma. It uses a concentrate from your own blood to support healing and hair growth.

Customer

Do you offer it?

AI agent

Yes, we offer PRP sessions. I can share our prices or book a free consultation. Which would you prefer?

Example only. Tool calls are shown so you can see when the agent uses this template. Your agent’s wording depends on your prompt and business information.

Who uses it

  • Clinics explaining medical or cosmetic terms before answering with their own services.
  • Travel agencies answering general questions about a destination before suggesting a package.
  • Tutoring companies explaining exam names and formats to parents.

Setup

  1. Open Create agent or Edit agent and add a custom tool.
  2. Copy the fields below into the form. No API key is required.
  3. In your prompt, tell the agent to use web_search only for public facts, not for your internal policies or inventory.

Copy into custom tool form

Copy each value into the matching field when you add a custom tool on the create or edit agent page. Replace any YOUR_… placeholders with your real credentials.

Tool name

web_search

Description

Look up a factual instant answer or summary for a customer question using DuckDuckGo Instant Answer. Use for definitions, public facts, and well-known entities — not for private business data.

Endpoint URL

Paste into Endpoint URL (https:// is added automatically).

api.duckduckgo.com/

HTTP method

GET

Tool inputs (all)

1. query (string) Search query or question to look up

Tool input: query

Input name

query

Input type

string

Input description

Search query or question to look up

Reference value

Use this as the request query or body value and choose “Tool input” in the form.

{{query}}

Request query (all)

q: {{query}} format: json no_redirect: 1 no_html: 1

Field name

q

Field value

{{query}}

Field name

format

Field value

json

Field name

no_redirect

Field value

1

Field name

no_html

Field value

1