Interface Callbacks.AfterToolCallback
- Enclosing class:
Callbacks
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
-
Method Details
-
call
io.reactivex.rxjava3.core.Maybe<Map<String,Object>> call(InvocationContext invocationContext, BaseTool baseTool, Map<String, Object> input, ToolContext toolContext, Object response) Async callback after tool runs.- Parameters:
invocationContext
- Invocation context.baseTool
- Tool instance.input
- Tool input arguments.toolContext
- Tool context.response
- Raw tool response.- Returns:
- processed result, or empty to keep original.
-