A callback that runs before a tool is called.
The tool response. When present, the returned tool response will be used and the framework will skip calling the actual tool.
A callback that runs before a tool is called.