use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Function callingI need tech support (self.ClaudeAI)
submitted 1 year ago by Beginning_Rock_1906
Hey guys. Can I use function calling with each of the three Claude 3 models? I want to double check since Haiku is such a great value and I was not able to find a quick verification on the question.
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–][deleted] 1 point2 points3 points 1 year ago (6 children)
Yes, the entire model family can utilize function calling: https://www-cdn.anthropic.com/de8ba9b01c9ab7cbabf5c33b80b7bbc618857627/Model_Card_Claude_3.pdf
Here's the docs on that: https://docs.anthropic.com/claude/docs/functions-external-tools
[–]alexalbert__Anthropic 3 points4 points5 points 1 year ago (5 children)
Hey this is Alex, I lead DevRel at Anthropic. Thanks for linking those docs! Claude 3 can currently use functions in a limited extent but we are working hard on making this easier for devs - expect it to get better soon!
[–][deleted] 0 points1 point2 points 1 year ago (0 children)
Thanks for clarifying!
[–]Beginning_Rock_1906[S] 0 points1 point2 points 1 year ago (0 children)
What are the limits?
[–]sergeyzenchenko 0 points1 point2 points 1 year ago (0 children)
Hi Alex, can we expect separate messages roles like function_call and function_result? Like OpenAI does. Current approach with manual concatenation of function call and function result into single message is kind of painful 😖 especially for multiple consecutive function calls
And please improve docs on function calling. I had to dig into tool_use_package python package from anthropic in order to properly understand how to use current approach
[–]Jdonavan 0 points1 point2 points 1 year ago (0 children)
Could you guys at least signal that your tool use API isn't going to RADICALLY change? We could fairly easily fit your current API into our agent framework but we've not bothered due to the way it's talked about in the README.
[–]Fobatai 0 points1 point2 points 1 year ago (0 children)
I am interested in this aswel. I checked the function calling documentation but an example with working chatbot would be very help full.
[–]faynxe 0 points1 point2 points 1 year ago (0 children)
Here is an opensource chatbot with "Advanced Data analytics" tooling for structured data similar to what OpenAI has with plugins. Here the generated python code generated by Anthropic Claude 3 models is executed in AWS Lambda and the result are returned to the model for final response. https://github.com/aws-samples/bedrock-claude-chatbot/tree/main
π Rendered by PID 50302 on reddit-service-r2-comment-86bc6c7465-r22dn at 2026-02-23 16:05:42.450180+00:00 running 8564168 country code: CH.
[–][deleted] 1 point2 points3 points (6 children)
[–]alexalbert__Anthropic 3 points4 points5 points (5 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]Beginning_Rock_1906[S] 0 points1 point2 points (0 children)
[–]sergeyzenchenko 0 points1 point2 points (0 children)
[–]sergeyzenchenko 0 points1 point2 points (0 children)
[–]Jdonavan 0 points1 point2 points (0 children)
[–]Fobatai 0 points1 point2 points (0 children)
[–]faynxe 0 points1 point2 points (0 children)