{
  "schema_version": "0.1",
  "server": {
    "name": "ahtml.dev",
    "url": "https://ahtmljs.vercel.app"
  },
  "tools": [
    {
      "name": "home.install",
      "description": "Install via npm",
      "inputSchema": {
        "type": "object",
        "properties": {}
      },
      "annotations": {
        "auth": "none",
        "cost": {
          "category": "free"
        },
        "execute_url": "https://npmjs.com/package/@ahtmljs/next",
        "snapshot_url": "https://ahtmljs.vercel.app"
      }
    },
    {
      "name": "home.join_waitlist",
      "description": "Join waitlist",
      "inputSchema": {
        "type": "object",
        "properties": {}
      },
      "annotations": {
        "auth": "none",
        "cost": {
          "category": "free"
        },
        "reversible": {
          "reversible": true,
          "policy": "unsubscribe"
        },
        "side_effects": [
          "create_subscription",
          "send_email"
        ],
        "execute_url": "/api/waitlist",
        "snapshot_url": "https://ahtmljs.vercel.app"
      }
    },
    {
      "name": "home.run_benchmark",
      "description": "Run the benchmark locally",
      "inputSchema": {
        "type": "object",
        "properties": {}
      },
      "annotations": {
        "cost": {
          "category": "free"
        },
        "execute_url": "https://github.com/DibbayajyotiRoy/AHTML/tree/main/examples/benchmark",
        "snapshot_url": "https://ahtmljs.vercel.app"
      }
    },
    {
      "name": "home.view_spec",
      "description": "View v0.1 spec",
      "inputSchema": {
        "type": "object",
        "properties": {}
      },
      "annotations": {
        "cost": {
          "category": "free"
        },
        "execute_url": "/spec",
        "snapshot_url": "https://ahtmljs.vercel.app"
      }
    },
    {
      "name": "product_detail.purchase",
      "description": "Buy now",
      "inputSchema": {
        "type": "object",
        "properties": {}
      },
      "annotations": {
        "auth": "required",
        "cost": {
          "amount": 1999,
          "currency": "USD",
          "category": "purchase"
        },
        "reversible": {
          "reversible": true,
          "window": "P30D",
          "policy": "full_refund"
        },
        "side_effects": [
          "charge_card",
          "email_buyer",
          "decrement_stock",
          "generate_receipt"
        ],
        "confirmation": "required",
        "execute_url": "/api/checkout",
        "preview_url": "/api/checkout/preview",
        "snapshot_url": "https://ahtmljs.vercel.app/demo/products/mbp-14-m3"
      }
    },
    {
      "name": "product_detail.add_to_cart",
      "description": "Add to cart",
      "inputSchema": {
        "type": "object",
        "properties": {}
      },
      "annotations": {
        "auth": "optional",
        "cost": {
          "category": "free"
        },
        "reversible": {
          "reversible": true,
          "policy": "remove_from_cart"
        },
        "side_effects": [
          "modify_session"
        ],
        "execute_url": "/api/cart/items",
        "snapshot_url": "https://ahtmljs.vercel.app/demo/products/mbp-14-m3"
      }
    }
  ]
}