dw_paragraph_set_fields
Update DynamicWeb paragraph fields by specifying the paragraph ID and a map of field system names to new values. Supports HTML for richtext and file paths for images.
Instructions
Set item fields on a DynamicWeb paragraph.
Fetches the current paragraph, updates field values in its contentItem structure, then saves. fields is a key-value map where keys are field SystemNames and values are the content. For richtext fields, provide HTML string. For file/image fields use the file path string (e.g. "/Files/Images/hero.jpg").
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": {
"paragraphId": "<paragraphId>",
"fields": "<fields>"
},
"name": "dw_paragraph_set_fields"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paragraphId | Yes | Paragraph ID | |
| fields | Yes | Map of fieldSystemName -> value |