分类

折扣计算器

计算应用百分比或固定金额折扣后的折扣价、节省金额和最终价格

API 文档

请求端点

POST /zh/api/tools/discount-calculator

请求参数

参数名 类型 必填 描述
originalPrice number -
discountType select -
discountValue number -
currency select -
precision number -

响应格式

{
  "key": {...},
  "metadata": {
    "key": "value"
  },
  "error": "Error message (optional)",
  "message": "Notification message (optional)"
}
JSON数据: JSON数据

AI MCP 文档

将此工具添加到您的 MCP 服务器配置中:

{
  "mcpServers": {
    "elysiatools-discount-calculator": {
      "name": "discount-calculator",
      "description": "计算应用百分比或固定金额折扣后的折扣价、节省金额和最终价格",
      "baseUrl": "https://elysiatools.com/mcp/sse?toolId=discount-calculator",
      "command": "",
      "args": [],
      "env": {},
      "isActive": true,
      "type": "sse"
    }
  }
}

你可以串联多个工具,比如:`https://elysiatools.com/mcp/sse?toolId=png-to-webp,jpg-to-webp,gif-to-webp`,最多20个。

如果遇见问题,请联系我们:[email protected]