From 112918f86d339833c6b068653364e03fe8a8862b Mon Sep 17 00:00:00 2001 From: mateo Date: Tue, 18 Aug 2026 23:00:47 +0000 Subject: [PATCH] docs(bedrock_mantle): document web search on /responses Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- docs/providers/bedrock_mantle.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/docs/providers/bedrock_mantle.md b/docs/providers/bedrock_mantle.md index 298ca7aa3..0512f1cee 100644 --- a/docs/providers/bedrock_mantle.md +++ b/docs/providers/bedrock_mantle.md @@ -228,6 +228,25 @@ print(response) +### Web search + +The GPT-5.4 / GPT-5.5 / GPT-5.6 models on Mantle run web search server side, so pass the tool through `/v1/responses` and Bedrock does the searching + +```bash +curl -X POST http://0.0.0.0:4000/v1/responses \ + -H "Content-Type: application/json" \ + -H "Authorization: Bearer $LITELLM_API_KEY" \ + -d '{ + "model": "gpt-5.5-mantle", + "input": "What changed in the newest LiteLLM release?", + "tools": [{"type": "web_search"}] + }' +``` + +The response carries `web_search_call` items showing the queries the model ran, alongside the assistant message + +Mantle accepts `function`, `mcp`, `custom`, `namespace`, `tool_search`, and the web search family. Anything else, `image_generation` and `code_interpreter` for instance, is dropped from the request with a warning in the gateway logs rather than failing the call. Web search is a Responses API feature only: `/chat/completions` on Mantle takes function and custom tools alone + ## API Key ```python