# AgentTools Tip Calculator

> AgentTools Tip Calculator is a paid API for AI agents from agentstoolshub.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-12).

Calculates tip amount, grand total, and per-person split for any bill amount, with configurable tip percentage and party size.

## Facts

- Endpoint: GET https://agentstoolshub.com/api/v1/calculators/tip-calculator?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenttools-tip-calculator-9fe9ecf0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tHkUBZ7Q9qnZFbpJBdnks

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agenttools-tip-calculator-9fe9ecf0
```

Example prompt: We just finished dinner and the bill is $134.50 for 4 people — can you calculate the tip at 18% and tell me what each person owes?

## When to prefer this

Use this endpoint whenever an agent needs to quickly compute a tip, grand total, or per-person bill split without implementing the arithmetic inline. Ideal for dining, hospitality, or any bill-splitting scenario where tip percentage and party size may vary.

## Known failure modes

- Missing required 'bill' parameter returns an error
- Non-numeric bill amount causes a validation error
- Negative bill amount may return unexpected results
- Zero or negative people count may cause division errors
- Extremely large bill values may hit numeric precision limits

## How this service works

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.

## Output

Returns the calculated tip amount, the grand total (bill + tip), and the per-person share when split among the specified number of people. Uses a default 15% tip if no tip percentage is provided and assumes 1 person if no party size is given.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "bill"
     ],
     "properties": {
      "bill": {
       "type": "number",
       "description": "Bill amount"
      },
      "people": {
       "type": "number",
       "description": "Split between"
      },
      "tipPercent": {
       "type": "number",
       "description": "Tip %"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agenttools-tip-calculator-9fe9ecf0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentstoolshub.com](https://www.zero.xyz/host/agentstoolshub.com/llms.txt)
