toMessage
Converts the current ReceivedToolResult instance into a Message.Tool.Result object.
Return
A Message.Tool.Result instance representing the tool result with the current data and metadata.
Parameters
clock
The clock to use for generating the timestamp in the metadata. Defaults to Clock.System.