ReceivedToolResult
data class ReceivedToolResult(val id: String?, val tool: String, val content: String, val result: ToolResult?)(source)
Represents the result or response received from a tool operation.
Properties
Link copied to clipboard
The detailed result produced by the tool, implementing the ToolResult interface.
Functions
Link copied to clipboard
Converts the current ReceivedToolResult
instance into a Message.Tool.Result
object.
Link copied to clipboard
Converts a ReceivedToolResult instance into a SafeTool.Result for safer result handling.