Skip to content

Forms Tools

See tr-forms for the full recipe.

Creates a form definition with fields and a recipient email.

Create a contact form with name, email, phone (optional) and message.
Recipient: hej@acme.se

Returns the form definition and a fresh submit_token (HMAC-signed, 24h TTL). Claude fetches this token when embedding the form HTML on a page.

Updates the form definition — add/remove fields, change the success message or recipient.

Returns all forms defined for this site.

Deletes a form. Any embed HTML referencing it will stop accepting submissions.

The submit_token embedded in the form HTML expires after 24 hours. For forms on long-cached static pages, Claude can fetch a fresh token and redeploy. On the hosted plan, token refresh is automatic.