Create Forms key set
forms_keysets_createCreate a batch of single-use personal-link keys on a form; returns the created Keyset.
Instructions
Create a batch of single-use personal-link keys on a form; returns the created Keyset.
The API rejects a body without is_enabled, so set it explicitly alongside name and
total. Download the generated keys via the forms keysets download CLI command
(binary payload — not exposed over MCP).
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": {
"survey_id": "<survey_id>",
"body": "<body>"
},
"name": "forms_keysets_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Key set settings; the API requires ``is_enabled`` on create. | |
| dry_run | No | Send nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none). | |
| survey_id | Yes | Form id (24-char hex) to add the key set to. |