beforeToolCall method
Called before a tool is invoked. Returns a HookDecision that the shell uses to allow / deny / cancel the call.
Implementation
Future<HookDecision> beforeToolCall(ToolCallContext ctx) async {
return const HookDecisionAllow();
}