Create form
create_formCreate a form definition as a DRAFT (never auto-activated). Fields are stored as a JSON array in schema_json.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": {
"name": "<name>"
},
"name": "create_form"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| slug | No | Auto-generated from the name when omitted | |
| fields | No | Field defs: { key, label, type (text|email|phone|textarea|number|select|checkbox|file), required?, options?, placeholder?, helpText? } | |
| visibility | No | public|internal|restricted (default public) | |
| description | No | ||
| notify_email | No | ||
| success_message | No | ||
| target_tenant_id | No | Platform super-admins only: operate on this tenant instead of your own. |