Package-level declarations
Types
Represents a simplified tool base class that processes specific arguments and produces a textual result.
Represents a descriptor for a tool that contains information about the tool's name, description, required parameters, and optional parameters.
A base sealed class representing exceptions specific to tools. This class provides a structure for exceptions with a custom message.
Represents a descriptor for a tool parameter. A tool parameter descriptor contains information about a specific tool parameter, such as its name, description, data type, and default value.
Sealed class representing different types of tool parameters.
A registry that manages a collection of tools for use by agents.
Represents a result produced by a tool operation. This is a marker interface implemented by various result types.
Functions
Throws a ToolException.ValidationFailure exception with the specified error message.
Validates a given condition and throws a ToolException.ValidationFailure exception if the condition is not met.
Validates that the provided value is not null. If the value is null, a ToolException.ValidationFailure exception is thrown with the provided error message.