ToolMock

data class ToolMock(val expectations: List<ToolCallExpectation>, val name: ToolName, val description: String?, val parameters: List<Parameter>) : Tool

Constructors

Link copied to clipboard
constructor(expectations: List<ToolCallExpectation>, name: ToolName, description: String?, parameters: List<Parameter>)

Properties

Link copied to clipboard
open override val description: String?
Link copied to clipboard
Link copied to clipboard
open override val handler: suspend (toolArguments: JsonObject) -> String
Link copied to clipboard
val invocations: MutableList<JsonElement>
Link copied to clipboard
open override val name: ToolName
Link copied to clipboard
open override val parameters: List<Parameter>