mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-07-02 21:58:11 +00:00
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>