Tofu
CLI

The commands you will use most

The CLI owns hook management. The website handles account, billing, and read-only workspace context. Most workflows use only the commands below.

CommandWhen to use it
tofu loginOpen browser approval and connect the CLI to your account.
tofu hooks create stripe --name "Stripe"Create a named provider URL for Stripe webhooks.
tofu hooks url stripePrint the provider URL to paste into Stripe.
tofu targets set local "http://127.0.0.1:3000/api/webhooks/stripe" --hook stripeForward events to the webhook route in your local app.
tofu watch stripeStream incoming events and delivery results.
tofu replay latest --hook stripeReplay the newest event after updating your handler, while its payload is available.
tofu events expire <event-id>Remove stored request body and headers immediately. The event stays visible but cannot be replayed.

Deeper command guides