Modify Forms key set
forms_keysets_updateReplace a key set's settings; returns the updated Keyset.
Instructions
Replace a key set's settings; returns the updated Keyset.
Despite the PATCH verb, the API validates the body as a full record: name, total
and is_enabled must all be set or the request is rejected with 400. total can
only grow: a number smaller than the set has now is refused.
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>",
"keyset_id": "<keyset_id>",
"body": "<body>"
},
"name": "forms_keysets_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Full key set record — name, total and is_enabled are all required. | |
| dry_run | No | Send nothing: answer `{dry_run: true, request}`, the first write the tool would make (null: none). | |
| keyset_id | Yes | Key set id (integer) from ``keysets_list``. | |
| survey_id | Yes | Form id (24-char hex) the key set belongs to. |