wdf_data_templates_submissions_update
Replaces a submission's entire data object with the values provided in data. This is a full overwrite, not a merge — any existing field not included in data will be cleared to empty. Keys in data must match the field IDs from the Data Template (Form) schema (via wdf_data_templates_get_schema_and_sample_submissions), not display labels — an unrecognized key may be silently dropped rather than raising an error. Before calling this tool, first call wdf_data_templates_submissions_get, wdf_data_templates_submissions_search or wdf_data_templates_submissions_list_recent to retrieve the current field values, then include the complete set of fields in data — the ones you're changing plus every field you want to keep.
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": {
"dataTemplateId": "<dataTemplateId>",
"submissionNumber": "<submissionNumber>",
"data": "<data>"
},
"name": "wdf_data_templates_submissions_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Updated submission data as a key-value object (fieldId: value) | |
| dataTemplateId | Yes | The Data Template ID. | |
| submissionNumber | Yes | The Submission Number. |