# Web Search

Let your agent search public information when its answer needs a current source.

## Overview

Web search gives the agent a way to retrieve public information during a conversation. Use When to use to explain the questions that should trigger it.

## Configure web search

1. Choose Web search in Create action.
2. Enter the Action name and When to use instructions.
3. Choose whether to Include images.
4. Optionally enter Included domains, one public HTTP or HTTPS URL per line.
5. Select channels, save, and enable the action.

## Limit search scope

Leave Included domains empty to search the public web, or enter up to 300 public URLs to restrict the search. Use sources appropriate for your customer's question and avoid private or local addresses.

## Test the result

- Ask a question that matches your instructions and check the cited sources.
- If domains are restricted, verify the response uses the intended sources.
- Test a question with no useful result and check that the agent explains the limitation.
- Check image rendering in the selected channel when images are enabled.
