Agent Sdk Custom Tools
Custom tools allow you to extend Claude Code's capabilities with your own functionality through in-process MCP servers, enabling Claude to interact with external services, APIs, or perform specialized operations.
Creating Custom Tools
Use the createSdkMcpServer and tool helper functions to define type-safe custom tools:
Related Documentation
Was this page helpful?