Get a form's HTML snippet
bootform_get_snippetReturns a ready-to-paste HTML snippet for one of the connected account's existing forms. A read: it changes nothing. Put the snippet on the person's page where the form should appear. Keep its hidden honeypot field: while the form's Honeypot switch is on, a post without it lands in spam. If the form has Turnstile set up in the dashboard, pass include_turnstile: true, or every post from the page is refused; include_powered_by adds a one-line credit. A new form comes with its snippet from bootform_create_form; use this one for an existing form or to change its fields.
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": "bootform_get_snippet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Field names to include, e.g. ["name", "email", "message"]. Defaults to ["name","email","message"]. | |
| form_id | Yes | The form's id | |
| include_honeypot | No | Include the hidden honeypot field, under the form's own name (each form has its own; it can be changed in the dashboard's spam protection settings). Always included while the form's Honeypot switch is on (the default), because a submission without the field is then marked spam; turn the switch off in the dashboard first if the page cannot carry it. | |
| include_turnstile | No | Include Turnstile widget markup, if the form has a CAPTCHA configured | |
| include_powered_by | No | Include a small "Powered by BootForm" credit (one line, linking to bootform.com) under the form. Optional; leave it out if the site owner does not want it. |