DummyTool

Simple tool implementation for testing purposes. This tool accepts a placeholder parameter and returns a constant result.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
data class Args(val dummy: String = "")

Represents the arguments for the DummyTool.

Properties

Link copied to clipboard
Link copied to clipboard
open override val description: String
Link copied to clipboard
Link copied to clipboard
open override val name: String
Link copied to clipboard

A constant value representing the default result returned by the DummyTool.

Link copied to clipboard
open override val resultSerializer: KSerializer<String>

Functions

Link copied to clipboard
Link copied to clipboard
open suspend override fun doExecute(args: DummyTool.Args): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun execute(args: DummyTool.Args, enabler: DirectToolCallsEnabler): String
Link copied to clipboard
suspend fun executeUnsafe(args: Any?, enabler: DirectToolCallsEnabler): String