---
title: "POST /v2/{app_uid}/tools/{agent_uid}/web_search"
method: POST
path: "/v2/{app_uid}/tools/{agent_uid}/web_search"
---

# POST /v2/{app_uid}/tools/{agent_uid}/web_search

`POST /v2/{app_uid}/tools/{agent_uid}/web_search`

## Request

- Base URL: `http://localhost:3333`
- URL: `http://localhost:3333/v2/{app_uid}/tools/{agent_uid}/web_search`
- Auth: none declared

## Path parameters

- `app_uid` string, required
- `agent_uid` string, required

## Request body

- object
  - `domain` string, required
  - `domain_restriction_enabled` union, required
    - string
    - number
    - boolean
  - `status` union, required
    - string
    - number
    - boolean

## Response `200`

Successful response

- object

## Other responses

- `422`: Error response

## Changes

- **2026-10-20** `97c7b87a62c0`: 1 warning, 1 info
  - removed the optional property `errors/items/__@iterator@48148` from the response with the `422` status
  - added the optional property `errors/items/__@iterator@48152` to the response with the `422` status

[Operation history](https://skmtc.dev/insertchat/apis/adonisjs-api/changes/v2/:app_uid/tools/:agent_uid/web_search/post.md)

---

[API](https://skmtc.dev/insertchat/apis/adonisjs-api.md) · [All operations](https://skmtc.dev/insertchat/apis/adonisjs-api/llms.txt) · [OpenAPI document](https://skmtc.dev/insertchat/apis/adonisjs-api/revisions/97c7b87a62c0?raw)
