Files
crewAI/lib
Devin AI b98418c4c2 fix: initialize tools list when None before extending with MCP/platform tools
Fixes #4568

When an agent is created with mcps but without tools (or tools=None),
the MCP tools were silently dropped because _prepare_kickoff checked
'self.tools is not None' before extending. This fix initializes
self.tools to an empty list when it is None before extending with
MCP or platform tools.

Co-Authored-By: João <joao@crewai.com>
2026-02-23 15:00:06 +00:00
..