diff --git a/src/AnthropicClient/Models/Tool.cs b/src/AnthropicClient/Models/Tool.cs index 45e61e1..66243fc 100644 --- a/src/AnthropicClient/Models/Tool.cs +++ b/src/AnthropicClient/Models/Tool.cs @@ -182,7 +182,7 @@ public class Tool throw new ArgumentException($"Method '{methodName}' not found in type '{instance.GetType().FullName}'.", nameof(methodName)); } - return new Tool(name, description, new AnthropicFunction(method, instance), null); + return new Tool(name, description, new AnthropicFunction(method, instance), cacheControl); } ///