Forms Tools
See tr-forms for the full recipe.
create_form
Section titled “create_form”Creates a form definition with fields and a recipient email.
Create a contact form with name, email, phone (optional) and message.Recipient: hej@acme.seread_form
Section titled “read_form”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.
update_form
Section titled “update_form”Updates the form definition — add/remove fields, change the success message or recipient.
list_forms
Section titled “list_forms”Returns all forms defined for this site.
delete_form
Section titled “delete_form”Deletes a form. Any embed HTML referencing it will stop accepting submissions.
Token expiry
Section titled “Token expiry”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.