doorman_get_install_snippet
Get ready-to-paste integration code for a form on a given platform. Use 'html' for static sites, 'react' for SPA client components, and 'fetch' (plain fetch with timeout and fallback: Workers, Node, Next, Deno), 'nextjs', 'express', 'python', 'ruby' or 'elixir' when the form already posts to the project's own backend.
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>",
"platform": "<platform>"
},
"name": "doorman_get_install_snippet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | Doorman API key (dm_live_...). Only needed if the MCP connection has no Authorization header. | |
| form_id | Yes | f_... | |
| platform | Yes |