{
  "schema_version": "1.0",
  "name": "hatchloop-tools",
  "display_name": "Hatchloop Developer Tools",
  "description": "Free utility APIs for developers and AI agents. JWT decoding, token counting, DNS lookup, fake data generation, Base64, HTML-to-Markdown, YAML validation, CSV-to-JSON, and more. Zero auth, CORS open, JSON responses.",
  "version": "2.0.0",
  "homepage": "https://hatchloop.dev",
  "license": "MIT",
  "author": {
    "name": "Hatchloop",
    "email": "support@hatchloop.dev",
    "url": "https://hatchloop.dev"
  },
  "transport": { "type": "http", "url": "https://hatchloop.dev/api", "auth": "none" },
  "tools": [
    {
      "name": "count_tokens",
      "description": "Count tokens in text and get API cost estimates for Claude, GPT-4o, Gemini, Mistral. Returns token count and per-model cost breakdown.",
      "inputSchema": {"type":"object","properties":{"text":{"type":"string"}},"required":["text"]},
      "endpoint": "POST /api/tools/tokens"
    },
    {
      "name": "decode_jwt",
      "description": "Decode and inspect a JWT token. Returns header, payload, all claims, expiry, algorithm, and whether the token is expired.",
      "inputSchema": {"type":"object","properties":{"token":{"type":"string"}},"required":["token"]},
      "endpoint": "POST /api/tools/jwt"
    },
    {
      "name": "dns_lookup",
      "description": "Query DNS records for any domain. Supports A, AAAA, MX, TXT, NS, CNAME, SOA, PTR.",
      "inputSchema": {"type":"object","properties":{"domain":{"type":"string"},"type":{"type":"string","enum":["A","AAAA","MX","TXT","NS","CNAME","SOA","PTR"]}},"required":["domain"]},
      "endpoint": "GET /api/tools/dns"
    },
    {
      "name": "encode_base64",
      "description": "Encode text to Base64 or decode Base64 back to text.",
      "inputSchema": {"type":"object","properties":{"text":{"type":"string"},"action":{"type":"string","enum":["encode","decode"]}},"required":["text","action"]},
      "endpoint": "POST /api/tools/base64"
    },
    {
      "name": "generate_fake_data",
      "description": "Generate realistic test data: person, email, address, company, uuid, color, date, number, sentence. Supports reproducible seeds.",
      "inputSchema": {"type":"object","properties":{"type":{"type":"string"},"count":{"type":"integer","minimum":1,"maximum":50},"seed":{"type":"integer"}},"required":["type"]},
      "endpoint": "GET /api/tools/fake"
    },
    {
      "name": "html_to_markdown",
      "description": "Convert HTML to clean Markdown. Used for RAG pipelines, documentation processing, and content extraction by AI agents.",
      "inputSchema": {"type":"object","properties":{"html":{"type":"string"}},"required":["html"]},
      "endpoint": "POST /api/tools/html-to-markdown"
    },
    {
      "name": "get_caller_ip",
      "description": "Returns the caller's IP address and user-agent. Useful for agents that need to discover their egress IP.",
      "inputSchema": {"type":"object","properties":{}},
      "endpoint": "GET /api/tools/ip"
    }
  ]
}
