Claude Agent SDK - Tool Integration Working with tools, permissions, and MCP (Model Context Protocol) servers in the Claude Agent SDK. Tool Permissions Allowing Specific Tools Blocking Tools Permission Modes Custom Tools Defining Custom Tools Tool Execution Context MCP Server Integration Adding MCP Servers Using MCP Resources MCP Server Configuration Tool Response Handling Streaming Tool Responses Error Handling Best Practices Principle of Least Privilege Tool Input Validation MCP Server Sandboxing Anti-Patterns Don't Allow Unrestricted Bash Don't Ignore Tool Errors Related Skills - agent-cre…