execute
override fun execute(input: TInput, ctx: ToolExecutionContext<TContext>): Flow<ToolResult<TOutput>>(source)
Flow-first executor: emit one ToolResult.Success per value. The LAST emission is the final result that feeds the model; earlier emissions surface as preliminary tool results. Extend StreamingTool and override StreamingTool.executeStream for the streaming case.
Since
0.3.0-beta01