use_template
Get the full HTML source of a template. You can review it, ask Claude to modify it, and then deploy.
Annotations
| Annotation | Value |
|---|---|
readOnlyHint | true |
destructiveHint | false |
idempotentHint | false |
openWorldHint | false |
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
template | "waitlist" | "contact" | Yes | The 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:
- Calls
use_templatewithtemplate: "waitlist". - Receives the full HTML source.
- Modifies the heading text to "Join the beta".
- 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.