ToolCallHandler

fun interface ToolCallHandler(source)

Functional interface representing a handler for tool calls. This interface allows the implementation of custom logic to handle the execution of tools and their associated arguments.

Functions

Link copied to clipboard
abstract suspend fun handle(eventContext: ToolCallContext)

Handles the execution of a given tool using the provided arguments.