result
This is the result if the tool call was successful. This is added to the conversation history.
Further, if this is returned, assistant will speak:
- the
message, if it exists and is of typerequest-complete - a
request-completemessage fromtool.messages, if it exists - a response generated by the model, if neither exist