Edit a form's notification email
update_form_notificationCreate or change this form's own override of one response email (an upsert: the copy it replaces is lost); the workspace setting is left alone. Subject and body are plain text with {{token}} markers: {{formName}}, {{respondentName}}, {{respondentEmail}}, {{score}}, {{outcomeLabel}}, {{formLink}}, {{answers}}. Any other marker is saved but reaches the inbox as written; warnings lists it. Destructive: it deletes or replaces data, so it is best confirmed with the user first, naming exactly what will change. After an error or a timeout, a read shows whether the change went through, so a blind retry is not needed. Owners and admins only.
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": {
"form_id": "<form_id>",
"email_key": "<email_key>"
},
"name": "update_form_notification"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | The body as plain text, with {{token}} markers. null puts the default back. | |
| enabled | No | Whether the email is sent. | |
| form_id | Yes | The form id, from list_forms or get_form. | |
| subject | No | The subject, with {{token}} markers. null puts the default back. | |
| email_key | Yes | submission_received: the notice to the team. submission_confirmed: the receipt to the person who answered. | |
| recipients | No | Who gets the notice to the team. Not accepted on submission_confirmed, which goes to the person who answered. | |
| workspace_id | No | The workspace this call acts in: an id from list_my_workspaces. Required for a person signed in with several workspaces and for staff of this deployment; optional with an API key or with only one workspace. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| form_id | Yes | ||
| setting | Yes | ||
| warnings | No | What was saved but will not work as written (a {{token}} the emails do not know stays literal in the email), for the user to know. | |
| workspace | Yes | The workspace this call acted in, to compare with the one the user means. |