---
title: "Update Websearch Interception Settings"
method: PATCH
path: "/update/websearch_interception_settings"
tags: ["Settings"]
---

# Update Websearch Interception Settings

`PATCH /update/websearch_interception_settings`

Update web search interception settings in database.

Settings will be picked up by all pods within approximately 10 seconds via background polling.

## Request body

- WebSearchInterceptionSettings — Configuration for server-side web search interception
  - `enabled` boolean — Serve web search tool calls from a configured search tool instead of passing them upstream
  - `enabled_providers` string[] — LLM providers to intercept for (e.g. 'bedrock', 'vertex_ai'). Empty intercepts Bedrock only.
  - `search_tool_name` string, nullable — Name of the configured search tool to run searches through. Empty uses the first one available.
  - `max_agentic_loops` integer, nullable — How many follow-up model calls one intercepted request may chain. Empty applies the default of 3.

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-30** `85ac4287140e` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/flock/apis/litellm-api/changes/update/websearch_interception_settings/patch.md)

---

[API](https://skmtc.dev/flock/apis/litellm-api.md) · [All operations](https://skmtc.dev/flock/apis/litellm-api/llms.txt) · [OpenAPI document](https://skmtc.dev/flock/apis/litellm-api/revisions/ee3a9ebe33fd?raw)
