Adds optional before_tool_call and after_tool_call callback parameters to the
Crew class, enabling per-crew governance middleware for tool call authorization.
- before_tool_call(agent, tool_name, tool_input): Runs before each tool
execution. Raise an exception to block the call.
- after_tool_call(agent, tool_name, tool_input, tool_output): Runs after
each tool execution for audit/logging.
These crew-level hooks complement the existing global hook system, scoping
governance policies to individual crew instances.
Closes#5888
Co-Authored-By: João <joao@crewai.com>