FinishTool

constructor(outputType: TypeToken)(source)

A pass-through tool used with subgraphWithTask to signal task completion and return a structured result. Wraps outputs in FinishResult to support primitive outputTypes, which base Tool cannot handle directly.