{
  "service": "resend",
  "displayName": "Resend",
  "categories": [
    "Communication",
    "Marketing"
  ],
  "authTypes": [
    "api_key"
  ],
  "auth": [
    {
      "type": "api_key",
      "label": "API Key",
      "description": "Resend API key used with the Authorization Bearer header. Create or manage it from https://resend.com/docs/dashboard/api-keys/introduction."
    }
  ],
  "homepageUrl": "https://resend.com",
  "actions": [
    {
      "id": "resend.send_email",
      "service": "resend",
      "name": "send_email",
      "description": "Send an email with Resend.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "from": {
            "type": "string",
            "minLength": 1,
            "description": "The sender email address."
          },
          "to": {
            "type": "string",
            "minLength": 1,
            "description": "The recipient email address."
          },
          "subject": {
            "type": "string",
            "minLength": 1,
            "description": "The email subject line."
          },
          "html": {
            "type": "string",
            "description": "The HTML body of the email."
          },
          "text": {
            "type": "string",
            "description": "The plain text body of the email."
          }
        },
        "additionalProperties": false,
        "required": [
          "from",
          "to",
          "subject"
        ],
        "description": "The input payload for sending a Resend email.",
        "anyOf": [
          {
            "required": [
              "html"
            ]
          },
          {
            "required": [
              "text"
            ]
          }
        ]
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "emailId": {
            "type": "string",
            "description": "The unique identifier of the sent email."
          }
        },
        "additionalProperties": false,
        "description": "The output payload for this action."
      }
    }
  ]
}
