{
  "version": "1.0",
  "site": "https://toolsbatch.com",
  "actions": [
    {
      "id": "check-username",
      "name": "Check Username Availability",
      "description": "Scan key social media and developer platforms to verify if a given handle/username is available or taken.",
      "method": "declarative",
      "endpoint": "/tool/username-checker",
      "parameters": {
        "required": ["username"],
        "properties": {
          "username": {
            "type": "string",
            "description": "The handle or username to verify across platforms (e.g. 'john_doe')"
          }
        }
      }
    },
    {
      "id": "calculate-loan",
      "name": "Calculate Loan Payments",
      "description": "Calculate monthly payments, total interest, and amortization schedule for mortgage or consumer loans.",
      "method": "declarative",
      "endpoint": "/tool/loan-calculator",
      "parameters": {
        "required": ["amount", "rate", "term"],
        "properties": {
          "amount": {
            "type": "number",
            "description": "Total principal loan amount"
          },
          "rate": {
            "type": "number",
            "description": "Annual interest rate in percent (e.g. 5.5)"
          },
          "term": {
            "type": "number",
            "description": "Loan term in years (e.g. 30)"
          }
        }
      }
    },
    {
      "id": "convert-units",
      "name": "Convert Units",
      "description": "Convert physical quantities between length, weight, temperature, and digital storage units.",
      "method": "declarative",
      "endpoint": "/tool/unit-converter",
      "parameters": {
        "required": ["value", "from", "to", "category"],
        "properties": {
          "value": {
            "type": "number",
            "description": "Numeric value to convert"
          },
          "from": {
            "type": "string",
            "description": "Source unit name (e.g. 'kg')"
          },
          "to": {
            "type": "string",
            "description": "Target unit name (e.g. 'lb')"
          },
          "category": {
            "type": "string",
            "enum": ["length", "weight", "temperature", "digital_storage"],
            "description": "Unit category"
          }
        }
      }
    },
    {
      "id": "generate-utm",
      "name": "Generate UTM Campaign Link",
      "description": "Construct campaign tracking URLs for Google Analytics by appending source, medium, and campaign details.",
      "method": "declarative",
      "endpoint": "/tool/utm-builder",
      "parameters": {
        "required": ["url", "source", "medium", "campaign"],
        "properties": {
          "url": {
            "type": "string",
            "format": "uri",
            "description": "Target landing page URL"
          },
          "source": {
            "type": "string",
            "description": "Traffic source (e.g. 'newsletter')"
          },
          "medium": {
            "type": "string",
            "description": "Marketing medium (e.g. 'email')"
          },
          "campaign": {
            "type": "string",
            "description": "Campaign name (e.g. 'summer_sale')"
          }
        }
      }
    },
    {
      "id": "search-dream",
      "name": "Search Dream Meanings",
      "description": "Search the dream book database to find interpretations and psychological symbols of a dream.",
      "method": "declarative",
      "endpoint": "/tool/dream-book",
      "parameters": {
        "required": ["query"],
        "properties": {
          "query": {
            "type": "string",
            "description": "The search query describing the dream or symbol (e.g. 'flying')"
          }
        }
      }
    }
  ]
}
