{
  "x402Version": 2,
  "id": 35400,
  "slug": "35400",
  "resource": "https://agentstoolshub.com/api/v1/calculators/tip-calculator",
  "description": "Calculate the tip for any bill, the grand total, and how much each person pays when splitting. Defaults to a 15% tip. Use this when an agent needs to tip amount, total and per-person split.",
  "type": "http",
  "serviceName": "AgentTools",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x8a0F2b0a6C82D1c54B16E2e4DEcd18fF0802b0f6",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "amountUsd": 0.002,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "analytics": {},
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "bill": 64.5,
            "people": 1,
            "tipPercent": 15
          },
          "type": "http"
        },
        "output": {
          "example": {
            "result": {
              "answer": "74.18",
              "answerLabel": "Total with 15% tip",
              "details": [
                {
                  "label": "Tip amount",
                  "value": "9.68"
                },
                {
                  "label": "Bill",
                  "value": "64.5"
                }
              ],
              "steps": [
                "Tip = 64.5 × 15 ÷ 100 = 9.68",
                "Total = 64.5 + 9.68 = 74.18"
              ],
              "value": 74.175
            },
            "tool": "tip-calculator"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "bill": {
                    "description": "Bill amount",
                    "type": "number"
                  },
                  "people": {
                    "description": "Split between",
                    "type": "number"
                  },
                  "tipPercent": {
                    "description": "Tip %",
                    "type": "number"
                  }
                },
                "required": [
                  "bill"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "calculators",
    "general",
    "analytics",
    "bazaar"
  ],
  "sourceHost": "agentstoolshub.com",
  "lastUpdated": "2026-10-11T23:40:48.067Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-10-11T23:40:47.903Z"
  },
  "metadata": {
    "serviceName": "AgentTools",
    "extensions": {
      "analytics": {},
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "bill": 64.5,
              "people": 1,
              "tipPercent": 15
            },
            "type": "http"
          },
          "output": {
            "example": {
              "result": {
                "answer": "74.18",
                "answerLabel": "Total with 15% tip",
                "details": [
                  {
                    "label": "Tip amount",
                    "value": "9.68"
                  },
                  {
                    "label": "Bill",
                    "value": "64.5"
                  }
                ],
                "steps": [
                  "Tip = 64.5 × 15 ÷ 100 = 9.68",
                  "Total = 64.5 + 9.68 = 74.18"
                ],
                "value": 74.175
              },
              "tool": "tip-calculator"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "bill": {
                      "description": "Bill amount",
                      "type": "number"
                    },
                    "people": {
                      "description": "Split between",
                      "type": "number"
                    },
                    "tipPercent": {
                      "description": "Tip %",
                      "type": "number"
                    }
                  },
                  "required": [
                    "bill"
                  ],
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "agentstoolshub.com",
    "manifest_name": "agentstoolshub.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}