
{
  "name": "remove_background",
  "description": "Remove background from an image using the Emoji Tools API. Supports tolerance adjustment for better results.",
  "input_schema": {
    "type": "object",
    "properties": {
      "image": {
        "type": "string",
        "description": "The URL of the image to process, or a Base64 encoded string (data:image/...)."
      },
      "tolerance": {
        "type": "number",
        "description": "Color tolerance (0-100). Higher values remove more background colors. Default is 25. Try 40-50 for best results if 25 leaves artifacts.",
        "default": 25
      },
      "keyColor": {
        "type": "string",
        "description": "Specific hex color to remove (e.g. #FFFFFF). If omitted, the tool auto-detects the background color from corners."
      }
    },
    "required": ["image"]
  },
  "url": "https://emoji-tools.com/api/mcp/remove-bg",
  "method": "POST"
}
