Files
crewAI/lib
Greyson LaLonde 41635472f6 fix: sanitize tool names in hook decorator filters
The tools parameter in before_tool_call/after_tool_call decorators now
auto-sanitizes names via sanitize_tool_name(), so users can pass
BaseTool.name directly without knowing the internal normalization.

Also fixes tool_utils.py to pass the sanitized name to
ToolCallHookContext for consistency with crew_agent_executor.py.

Closes #5335
2026-04-08 20:00:42 +08:00
..