Skip to main content

after_tool

Function
This function is defined in the middleware module.
Decorator to mark a function as an after_tool hook. The function receives a ToolResponse and should return a (possibly modified) ToolResponse.

Signature

Parameters

func
AfterToolFn
required
No description available.

Returns

Returns
AfterToolFn
The result of the operation.

Usage

Source

View on GitHub

praisonaiagents/hooks/middleware.py at line 257

Tools Concept

Create Custom Tools

Tool Development