toolCall

public abstract Optional<ToolCall> toolCall()

Server-side tool call. This field is populated when the model predicts a tool invocation that should be executed on the server. The client is expected to echo this message back to the API.