nucleo-fields-set
Saves field values for a post or term after validating every entry; omitted keys stay unchanged, empty values clear fields, and an optional base hash blocks overwriting changed data.
Instructions
Saves field values of a post (postId) or a term (termId). Partial: keys left out are kept. An empty value clears the field. Every value is checked before anything is written. With "base" (the hash from fields-get), nothing is written if the values changed since: error code "conflict". Success returns the new "hash".
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": {
"values": "<values>"
},
"name": "nucleo-fields-set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Hash of the values read with fields-get. Optional. | |
| postId | No | Post ID. | |
| termId | No | Term ID. | |
| values | Yes | Values by field key. Repeaters are lists of rows. |