Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

fix(schema): declare supports_tool_search in the model prices schemas

mateo-berridf5425675e28
diff --git a/model_prices_and_context_window.schema.json b/model_prices_and_context_window.schema.json
index 882f514b199..56400e0666b 100644
--- a/model_prices_and_context_window.schema.json
+++ b/model_prices_and_context_window.schema.json
@@ -671,6 +671,9 @@
"supports_tool_choice": {
"type": "boolean"
},
+ "supports_tool_search": {
+ "type": "boolean"
+ },
"supports_url_context": {
"type": "boolean"
},
diff --git a/tests/test_litellm/test_utils.py b/tests/test_litellm/test_utils.py
index ed5a9f1dd63..acd8ef4c96c 100644
--- a/tests/test_litellm/test_utils.py
+++ b/tests/test_litellm/test_utils.py
@@ -921,6 +921,7 @@ def test_aaamodel_prices_and_context_window_json_is_valid():
"supports_response_schema": {"type": "boolean"},
"supports_system_messages": {"type": "boolean"},
"supports_tool_choice": {"type": "boolean"},
+ "supports_tool_search": {"type": "boolean"},
"supports_video_input": {"type": "boolean"},
"supports_vision": {"type": "boolean"},
"supports_web_search": {"type": "boolean"},