{
 "about": "pinpage.net tools for agents: the server makes every draw; relay the result as given. MCP: https://pinpage.net/mcp",
 "endpoints": [
  {
   "path": "/api/who-pays",
   "methods": [
    "GET",
    "POST"
   ],
   "params": "names (2 to 20, comma separated), appeal (0, 1, 2 …), previous_payer, special_used (true once the answer says so)",
   "example": "https://pinpage.net/api/who-pays?names=阿明,小美,阿凱"
  },
  {
   "path": "/api/pick-food",
   "methods": [
    "GET",
    "POST"
   ],
   "params": "meal (lunch, dinner, late_night; optional), district (optional; attached shops only from it)",
   "example": "https://pinpage.net/api/pick-food?meal=lunch"
  },
  {
   "path": "/api/pick-restaurant",
   "methods": [
    "GET",
    "POST"
   ],
   "params": "district, kind, max_price (all optional)",
   "example": "https://pinpage.net/api/pick-restaurant?district=大安區&max_price=400"
  },
  {
   "path": "/api/restaurants",
   "methods": [
    "GET",
    "POST"
   ],
   "params": "district, kind, max_price (all optional)",
   "example": "https://pinpage.net/api/restaurants?kind=拉麵"
  },
  {
   "path": "/api/whatever",
   "methods": [
    "GET",
    "POST"
   ],
   "params": "who (partner, friend, coworker, boss, parents), said (whatever, anything, you_decide, not_hungry, up_to_you, not_too_pricey, light)",
   "example": "https://pinpage.net/api/whatever?who=partner&said=whatever"
  }
 ]
}