{"tools":[{"name":"fetch","description":"Fetch a public http(s) URL. Costs 3 cents. Returns status, content type, and up to 32KB of body. Private/internal hosts are rejected. HTTP 402 if the wallet is empty.","inputSchema":{"type":"object","properties":{"url":{"type":"string","description":"Public http or https URL to fetch"}},"required":["url"]},"http":{"method":"POST","path":"/v1/tools/fetch"}},{"name":"charge","description":"Charge 3 cents for one api_call with no extra work. Returns remaining balance.","inputSchema":{"type":"object","properties":{},"required":[]},"http":{"method":"POST","path":"/v1/tools/charge"}},{"name":"report_usage","description":"Report a usage event for metering and billing. Idempotent via event_id. Returns 402 if insufficient funds.","inputSchema":{"type":"object","properties":{"meter":{"type":"string","description":"Meter name / slug (e.g. api_call)"},"quantity":{"type":"number","description":"Quantity of the unit consumed"},"event_id":{"type":"string","description":"Optional client-provided idempotency key"},"properties":{"type":"object","description":"Non-PHI metadata only"}},"required":["meter","quantity"]},"http":{"method":"POST","path":"/v1/events"}},{"name":"get_balance","description":"Get the current credit balance for the authenticated organization.","inputSchema":{"type":"object","properties":{},"required":[]},"http":{"method":"GET","path":"/v1/balance"}},{"name":"checkout_credits","description":"Start a Stripe Checkout session to buy $10 in credits.","inputSchema":{"type":"object","properties":{},"required":[]},"http":{"method":"POST","path":"/v1/balance/checkout"}}],"version":"0.2.0","auth":{"type":"api_key","header":"X-API-Key","description":"Pass the organization API key in the X-API-Key header"},"notes":["All tools require X-API-Key authentication.","fetch is the first paid product: 3 cents per public URL.","On insufficient funds, fetch and charge return HTTP 402."]}