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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
Add anthropic programatic tool calling support for responses api
Sameer Kankuteaa6d0056d3ae
diff --git a/litellm/responses/litellm_completion_transformation/transformation.py b/litellm/responses/litellm_completion_transformation/transformation.pyindex da5b3e65cdd..5f1271d7919 100644--- a/litellm/responses/litellm_completion_transformation/transformation.py+++ b/litellm/responses/litellm_completion_transformation/transformation.py@@ -716,6 +716,12 @@ class LiteLLMCompletionResponsesConfig:)if tool.get("cache_control"):chat_completion_tool["cache_control"] = tool.get("cache_control")+ if tool.get("defer_loading"):+ chat_completion_tool["defer_loading"] = tool.get("defer_loading")+ if tool.get("allowed_callers"):+ chat_completion_tool["allowed_callers"] = tool.get("allowed_callers")+ if tool.get("input_examples"):+ chat_completion_tool["input_examples"] = tool.get("input_examples")chat_completion_tools.append(chat_completion_tool)