register
fun <TInput, TOutput, TContext> register(tool: Tool<TInput, TOutput, TContext>, render: (UIToolInvocation<TInput, TOutput>) -> TRenderResult): ToolPartHandlerRegistry.Builder<TRenderResult>(source)
Bind a typed renderer for tool. The renderer receives a UIToolInvocation with input / output already deserialized via the tool's own serializers.