Skip to content

Agent Sdk Custom Tools

Updated 3 days ago

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: