doorman_signup
Create a Doorman account for the user with a first form and an API key. Ask the user for their email first. They'll get an email to set a dashboard password. Creates the account's first form too and returns its id and action URL, plus the api_key (store it as DOORMAN_KEY in the project's local secrets file, never commit it). Only for new users: if they already have an account, ask for a key instead. Until the user clicks the confirmation link in that email, nothing is emailed to them (100 checks; Slack and webhooks work).
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": {
"email": "<email>",
"site_url": "<site_url>",
"site_context": "<site_context>"
},
"name": "doorman_signup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | watch delivers would-be drops, tagged; holds still follow forward_holds. Recommended for a new lead form: switch to enforce after a week or two of verdicts look right. Default enforce. | |
| Yes | The user's email. Real submissions are forwarded here by default. | ||
| site_url | Yes | The website the form is on, e.g. acme.com | |
| form_name | No | Optional name, e.g. 'Contact form' or 'Demo request' | |
| site_context | Yes | One or two sentences: what the business sells and to whom. Doorman compares every submission against this. Read the project's README/landing copy to write it. |