ToolCallService
Functions
Link copied to clipboard
open fun onToolCallComplete(requestContext: RequestContext, result: String): List<ToolMessageCompleteImpl>
Link copied to clipboard
open fun onToolCallFailed(requestContext: RequestContext, errorMessage: String): List<ToolMessageFailedImpl>
Link copied to clipboard
fun requestCompleteMessages(block: RequestCompleteMessages.() -> Unit): MutableList<ToolMessageCompleteImpl>
Link copied to clipboard
fun requestFailedMessages(block: RequestFailedMessages.() -> Unit): MutableList<ToolMessageFailedImpl>