Message for passing the result of executing a tool back to a model.
public Optional<FunctionMessage> function()Message for passing the result of executing a tool back to a model.
FunctionMessage are an older version of the ToolMessage schema, and do not contain
the tool_call_id field.
The tool_call_id field is used to associate the tool call request with the tool call
response. Useful in situations where a chat model is able to request multiple tool calls
in parallel.