ToolResult
Deprecated
Extending ToolResult is no longer required. Tool results are entirely handled by KotlinX Serialization.
Represents a result produced by a tool operation. This is a marker interface implemented by various result types.
Inheritors
Types
A serializer that converts an object implementing the TextSerializable interface into a textual format by utilizing the textForLLM
function defined in the interface.
A custom inline value class that wraps a kotlin.Boolean
to provide additional functionality or semantics.
Represents an interface that provides functionality for serializing implementing classes into JSON format using kotlinx.serialization library.
Represents a numeric value as a tool result.
Result implementation representing a simple tool result, just a string.
Abstract class representing a text-serializable object. This class provides a contract for converting an object to a text representation that can be utilized by language learning models (LLMs) or other text-processing systems.