TestBlankTool
A simple implementation of the Tool class that returns the input string argument as the result. This tool is used for testing purposes only.
Parameters
name
An optional name for the tool. If not provided, it defaults to "blank-tool".
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun encodeResultToParts(result: String, serializer: JSONSerializer): List<MessagePart.ContentPart>
Link copied to clipboard
fun encodeResultToPartsUnsafe(result: Any?, serializer: JSONSerializer): List<MessagePart.ContentPart>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard