AGENT TOOL · 确定性算法 · 零 LLM

猫龄狗龄换算器¥0.99/次

把猫咪/狗狗的实际年龄换算成人类年龄,判断它处在幼年、成年还是老年。猫按通行分段对照,狗区分小型/中型/大型犬(体型越大衰老越快),并提示常见误区。

调用方式(402 机器付)

curl -X POST https://api.liuwangcun.com/api/tool/pet-age \
  -H "content-type: application/json" \
  -H "payment-proof: <支付宝/ x402 付款凭证>" \
  -d '{ "animal": "cat", "years": 3 } 或 { "animal": "dog", "years": 5, "size": "large" }(animal: cat/dog;size: small/medium/large)'

未带付款凭证时返回 HTTP 402 + Payment-Needed 头(含金额、收款方、资源路径),Agent 可直接解析并完成支付后重试。

示例输入

{ "animal": "cat", "years": 3 } 或 { "animal": "dog", "years": 5, "size": "large" }(animal: cat/dog;size: small/medium/large)

说明

纯确定性计算,无模型推理、无外部数据查询;不扣款、不写入、不查询任何第三方系统。返回结果含免责声明,仅供参考。

Powered by universal-asset-api · 全部数字资产 · llms.txt