Skip to content

use_template

Get the full HTML source of a template. You can review it, ask Claude to modify it, and then deploy.

Annotations

AnnotationValue
readOnlyHinttrue
destructiveHintfalse
idempotentHintfalse
openWorldHintfalse

Parameters

NameTypeRequiredDescription
template"waitlist" | "contact"YesThe template ID to retrieve

Return format

Returns the full HTML source of the template in a code block. The HTML is a complete, self-contained page ready to deploy.

html
<!DOCTYPE html>
<html lang="en">
<head>...</head>
<body>
  <form action="{{SUBMIT_URL}}" method="POST">
    ...
  </form>
</body>
</html>

Example

User prompt:

Show me the waitlist template and change the heading to "Join the beta"

What Claude does:

  1. Calls use_template with template: "waitlist".
  2. Receives the full HTML source.
  3. Modifies the heading text to "Join the beta".
  4. Shows you the updated HTML or proceeds to deploy it with the deploy tool.

Notes

  • This tool only retrieves the template source. It does not deploy anything. To deploy, Claude will follow up with a deploy call.
  • Templates use as the form action placeholder. This is automatically replaced with the real submission endpoint at deploy time.
  • You can ask Claude to make any modifications to the template HTML before deploying: change colors, add fields, rewrite copy, swap layouts, or anything else.

Deploy forms and sites from AI conversations.