nucleo-terms-set
Create or update taxonomy terms by slug, preserving omitted fields and skipping unchanged entries; stale base hashes return a conflict without saving that term.
Instructions
Creates or updates the terms of a taxonomy by slug. Partial: keys left out are kept. Terms are never deleted. A term identical to the saved one is not written and reports action "unchanged". A term with errors writes nothing; the others go on. A term with "base" (the hash from terms-get) that changed since is not saved: error code "conflict".
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": {
"taxonomy": "<taxonomy>",
"terms": "<terms>"
},
"name": "nucleo-terms-set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| media | No | Map from file name to URL, from the manifest. | |
| terms | Yes | Terms by slug: name (required on creation), description, parent (slug), fields, base (hash read with terms-get: the term is saved only if it did not change since). | |
| dryRun | No | Checks the terms without writing. Results have the expected action and a null id. | |
| pending | No | Symbols the push will create, such as term:<taxonomy>/<slug> or media:<file>. Used with dryRun. | |
| taxonomy | Yes | Taxonomy slug. |