withFinishTool
fun <Output : Any> withFinishTool(finishTool: Tool<*, Output>): SubtaskBuilderWithInputAndOutput<Input, Output>(source)
Associates a finishing tool with the subtask builder, allowing the subtask to produce an output of the specified type.
Return
A subtask builder configured with an input and the specified output type.
Parameters
finishTool
The tool that defines how the subtask's output will be produced and processed.