before_tool
Method
This is a method of the HookRunner class in the hooks module.Run before-tool hooks
Signature
Parameters
No description available.
No description available.
No description available.
Returns
The result of the operation.
before_tool: Run before-tool hooks
This is a method of the HookRunner class in the hooks module.Run before-tool hooks
def before_tool(
&self,
session_id: &str,
tool_name: &str,
args: serde_json::Value,
) -> Result<HookResult>