Edit a notification email
update_notificationChange the workspace setting of one response email: only the fields you pass change, and the copy they replace is lost. 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. Forms with their own override (list_form_notifications) keep 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": {
"email_key": "<email_key>"
},
"name": "update_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. | |
| 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 |
|---|---|---|---|
| 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. |