content_partial_update
Update reusable content partials in Voog CMS by replacing their body (HTML/text) or metainfo. Allows setting custom, map, or video types.
Instructions
Update a content partial (PUT /content_partials/{id}). Content partials are reusable template fragments embedded in pages and layouts. PUT body is flat (no envelope). At least one of body (HTML/text content) or metainfo (object) must be supplied. Update is idempotent — calling with the same payload twice has the same end state.
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": {
"site": "<site>",
"content_partial_id": "<content_partial_id>"
},
"name": "content_partial_update"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | New body content (HTML or text). | |
| site | Yes | ||
| metainfo | No | Metainfo object. Voog accepts `type` in {custom, map, video} among other implementation-specific keys. | |
| content_partial_id | Yes |