ToolCondition

constructor(tool: Tool<Args, Result>, argsCondition: suspend (Args) -> Boolean, produceResult: suspend (Args) -> Result)(source)

Parameters

Args

The type of arguments the tool accepts

Result

The type of result the tool produces