Hi. Thanks for this wonderful library. I'm running into an issue with Function Calling though.
I was able to construct the request with tools specification and get back the response from Anthropic on which tools to use etc.
However, how can I send the following up request with the tool result?
The MessageParameter.Message seems to support only text and image type, while we need tool_use (for assistant message) and tool_result (for user message)
Hi. Thanks for this wonderful library. I'm running into an issue with Function Calling though.
I was able to construct the request with tools specification and get back the response from Anthropic on which tools to use etc.
However, how can I send the following up request with the tool result?
The
MessageParameter.Message
seems to support onlytext
andimage
type, while we needtool_use
(forassistant
message) andtool_result
(foruser
message)Thanks