GitHub

ProviderToolConstructor

API reference for ProviderToolConstructor.

class ProviderToolConstructor[NN: LiteralString, PP, SS, FF]

What provider_defined returns: called with the tool's arguments (encoded) and, for a tool that requires_handler, its failure_mode; in "return" mode the handler's failures become results, so the handler raises nothing to the caller.