advanced~4h
Building Custom Tools for Agents (Native + via MCP)
A hands-on walkthrough building a real-time currency-conversion tool for a CrewAI agent — first as a native BaseTool, then re-implemented as a reusable MCP server consumable by any agent.
4
Subtopics
1
Exercises
1
Projects
5
Quiz Qs
4
Flashcards
▶📚 Prerequisites(1)
🎓 Learning objectives
- •Build a custom CrewAI tool by subclassing BaseTool with a Pydantic input schema
- •Wire a custom tool into an Agent/Task/Crew and execute it end-to-end
- •Expose the same tool logic as a standalone MCP server using @mcp.tool()
- •Consume a remote MCP tool from a CrewAI agent via MCPServerAdapter
- •Explain when to keep a tool native vs. expose it via MCP
Building Custom Tools for Agents (Native + via MCP) is a Pro topic
Sign in, then upgrade to Pro or Power to unlock this topic and the full AI Engineering curriculum.