{"uid":"cap_8bPPKNjBApjHbPBOMXYIm","slug":"coco-tip-split-calculator-8bcb332a","name":"CoCo Tip Split Calculator","description":"Zach Riehn's lab: an about-me and portfolio, a news desk, The Atelier for AI experiments, Launch Lab for XRP research, and Fracture for games.","url":"https://cocoeatsai.com/area4/agent/tools/tip-split?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"enum":["GET"]},"queryParams":{"type":"object","properties":{"bill":{"type":"string"},"people":{"type":"string"},"tax_pct":{"type":"string"},"tip_pct":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"const":"json"},"example":{"type":"object","required":["tax"],"properties":{"tax":{"type":"number"}}}}}}},"responseSchema":{"type":"json","example":{"tax":0,"tip":18,"total":118,"per_person":118},"exampleNote":"Computed offline with demonstration inputs; time/random values are illustrative."},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_XP-_NPIqzRahsyxlLdE7l","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates tip, tax, and per-person split for a restaurant bill given bill amount, number of people, tax percentage, and tip percentage","exampleAgentPrompt":"We just finished dinner and the bill is $100, there are 4 of us, tax is 8%, and we want to tip 18% — can you calculate how much each person owes?","exampleUseCases":[{"title":"Group dinner check split","prompt":"We just had dinner and the bill came to $85. There are 3 of us splitting it equally, tax is 9%, and we want to tip 20%. How much does each person owe?"},{"title":"Calculating tip on a date night","prompt":"My restaurant bill is $62, just for the two of us, with 8.5% tax and I want to leave a 15% tip — what's the total and the tip amount?"},{"title":"Figuring out a zero-tax food truck split","prompt":"Food truck bill is $48 for 6 people, no tax, and we want to tip 10%. What does each person owe?"}],"resultDescription":"Returns a JSON object with computed values: tax amount (number), tip amount (number), total bill amount including tax and tip (number), and per-person share (number) based on the bill, tax percentage, tip percentage, and number of people provided.","failureModes":["Missing required parameters (bill, people, tax_pct, tip_pct) may return incomplete or error response","Non-numeric string values passed as query params may cause computation errors","Division by zero if people=0","Negative or nonsensical values may produce unexpected numeric results"],"whenToPreferThis":"Use this endpoint when you need a quick, deterministic server-side calculation of tip, tax, and per-person split for a restaurant bill. Prefer this over doing the arithmetic yourself when you want consistent rounding behavior or when embedding tip-split logic in a larger agent workflow without writing custom math.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-19T12:44:24.324Z","isFirstParty":false,"canonicalSlug":"coco-tip-split-calculator-8bcb332a"}