Create signup form
create_formCreate an embeddable signup form from a template (newsletter, waitlist or product-updates). Returns the form with its id. Errors: unknown_template, invalid_form_config, unknown_form_field, invalid_origin, list_not_found. Next: put and the runearc-embed.js script on your site, or create_popup to show the form on a trigger.
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": {
"name": "<name>"
},
"name": "create_form"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | A name for the form, such as "Footer signup". | |
| tags | No | Tag new contacts with these tags. | |
| list_ids | No | Add new contacts to these lists (list ids). | |
| template | No | Starting template: newsletter, waitlist or product-updates. Default newsletter. | |
| double_opt_in | No | Send a confirmation email first (double opt-in). | |
| allowed_origins | No | Websites allowed to submit, such as ["https://example.com"]. Empty means any. |