{"uid":"cap_tHkUBZ7Q9qnZFbpJBdnks","slug":"agenttools-tip-calculator-9fe9ecf0","name":"AgentTools 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.","url":"https://agentstoolshub.com/api/v1/calculators/tip-calculator?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Jj_f7E2jzdzJB0SVteC4o","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates tip amount, grand total, and per-person split for any bill amount, with configurable tip percentage and party size.","exampleAgentPrompt":"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?","exampleUseCases":[{"title":"Restaurant bill split among friends","prompt":"Our dinner bill came to $87.60 and there are 3 of us splitting it — what's the tip at 15% and how much does each person owe?"},{"title":"Big group meal with custom tip","prompt":"We have a party of 8 and the restaurant bill is $320. Can you calculate a 20% tip, the grand total, and what each person should pay?"},{"title":"Quick total check before paying","prompt":"My lunch bill is $52 — what's the total with a standard 15% tip included?"}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T12:50:46.801Z","isFirstParty":false,"canonicalSlug":"agenttools-tip-calculator-9fe9ecf0"}