Webform Handler Update
webform_handler_updateUpdate a Drupal webform handler's settings by handler ID. Optionally specify the owning webform to skip lookup; omitted configuration keys keep their current values.
Instructions
Update a webform handler.
Handlers have no entity id of their own, so this finds the webform
that owns handler_id and writes back through
Webform::updateWebformHandler(). Pass webform_id to skip the
search; without it, a handler id used by more than one webform is an
error naming them rather than a guess.
configuration keys are replaced as a whole and keys you leave out
keep their current value, so you can change one setting without
resending the rest.
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": {
"handler_id": "<handler_id>"
},
"name": "webform_handler_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | ||
| handler_id | Yes | ||
| webform_id | No | ||
| configuration | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||