Get a form snippet
get_snippetGet ready-to-paste code for a form in a given framework: html (no JavaScript), html_strict_csp, fetch, nextjs, astro, react, vue, nuxt, svelte, hugo, jekyll, framer, webflow. Insert it into the site as returned; it already includes the spam honeypot.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"form_id": "<form_id>"
},
"name": "get_snippet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| form_id | Yes | The form's ID, as returned by list_forms or create_form (12 letters and digits). | |
| framework | No | The site's framework. html needs no JavaScript. | html |