Result
class Result(val promptMessageContents: List<PromptMessageContent>) : ToolResult.TextSerializable(source)
Result of an MCP tool call.
This class wraps a list of PromptMessageContent objects returned by an MCP tool. It implements the ToolResult interface to make it compatible with the agent framework.