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]

test fix test_litellm_anthropic_prompt_caching_tools

Ishaan Jaff6e0c84363e4d
diff --git a/litellm/types/llms/anthropic.py b/litellm/types/llms/anthropic.py
index 076d8e414a3..837f4bf9a8f 100644
--- a/litellm/types/llms/anthropic.py
+++ b/litellm/types/llms/anthropic.py
@@ -16,6 +16,7 @@ class AnthropicInputSchema(TypedDict, total=False):
type: Optional[str]
properties: Optional[dict]
additionalProperties: Optional[bool]
+ required: Optional[List[str]]
class AnthropicMessagesTool(TypedDict, total=False):