before_tool
Function
This function is defined in the middleware module.Decorator to mark a function as a before_tool hook. The function receives a ToolRequest and should return a (possibly modified) ToolRequest.
Signature
Parameters
No description available.
Returns
The result of the operation.
Usage
Source
View on GitHub
praisonaiagents/hooks/middleware.py at line 241
