class RubyLLM::ToolCall::Collection

The tool calls of a Message: an Enumerable of ToolCall objects in the order the provider returned them, also readable by call ID. Empty on a message without calls.

response.tool_calls.first
response.tool_calls.map(&:name) # => ["search_issues"]
response.tool_calls["call_1"]