Files
crewAI/lib
Devin AI 7a649b226e fix: auto-sanitize tool names in hook decorator filters
The tools parameter in @before_tool_call and @after_tool_call decorators
now auto-normalizes tool names using sanitize_tool_name() before comparison.

This allows users to pass human-readable tool names (e.g., 'File Read Tool',
'ExaSearchTool') that match the sanitized tool_name in ToolCallHookContext
at runtime, without needing to know the internal sanitization logic.

Closes #5335

Co-Authored-By: João <joao@crewai.com>
2026-04-08 07:38:55 +00:00
..