update_post
ActiveTool of FavCRM
declared in 1.0.0
Update an existing CMS post (any post type). Only provided fields are changed.
Parameters schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"postId"
],
"properties": {
"meta": {
"type": "object",
"description": "Custom field values; merged shallowly with existing meta. Use this for structured data, not excerpt.",
"propertyNames": {
"type": "string"
},
"additionalProperties": {}
},
"slug": {
"type": "string",
"description": "URL slug (must be unique per company+type)."
},
"type": {
"type": "string",
"description": "Change post type (e.g. blog_post → treatment). Slug is re-checked for uniqueness under the new type."
},
"title": {
"type": "string",
"description": "Post title"
},
"blocks": {
"type": "array",
"items": {
"$ref": "#/definitions/__schema0"
},
"description": "Replaces the entire ordered block array. Use append_post_block / replace_post_block / remove_post_block / reorder_post_blocks for per-block edits. Each block: { id, version, type, data }. Types: paragraph, heading, image, list, quote, code, divider, spacer, embed, html, youtube, file, faq, callout, gallery, cta, accordion, product, columns."
},
"postId": {
"type": "string",
"description": "The post ID"
},
"status": {
"enum": [
"draft",
"scheduled",
"published",
"archived"
],
"type": "string",
"description": "Post status"
},
"tagIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Tag IDs to sync (replaces existing tags)"
},
"excerpt": {
"type": "string",
"description": "Plain-text summary only — never JSON. Omit to leave unchanged."
},
"parentId": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Parent post ID for nested types."
},
"seoTitle": {
"type": "string",
"description": "SEO title override"
},
"sortOrder": {
"type": "number",
"description": "Sort order (lower = earlier)"
},
"visibility": {
"enum": [
"public",
"private",
"members_only"
],
"type": "string",
"description": "Visibility"
},
"categoryIds": {
"type": "array",
"items": {
"type": "string"
},
"description": "Category IDs"
},
"publishedAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Publish timestamp (ISO 8601)"
},
"featuredImage": {
"type": "string",
"description": "Cover image URL"
},
"seoDescription": {
"type": "string",
"description": "SEO description override"
}
},
"definitions": {
"__schema0": {
"oneOf": [
{
"type": "object",
"required": [
"id",
"version",
"type",
"data"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"data": {
"type": "object",
"required": [
"html"
],
"properties": {
"html": {
"type": "string"
}
}
},
"type": {
"type": "string",
"const": "paragraph"
},
"version": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
}
},
{
"type": "object",
"required": [
"id",
"version",
"type",
"data"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"data": {
"type": "object",
"required": [
"level",
"text"
],
"properties": {
"text": {
"type": "string",
"minLength": 1
},
"level": {
"anyOf": [
{
"type": "number",
"const": 1
},
{
"type": "number",
"const": 2
},
{
"type": "number",
"const": 3
},
{
"type": "number",
"const": 4
}
]
},
"anchor": {
"type": "string"
}
}
},
"type": {
"type": "string",
"const": "heading"
},
"version": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
}
},
{
"type": "object",
"required": [
"id",
"version",
"type",
"data"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"data": {
"type": "object",
"required": [
"url",
"alt"
],
"properties": {
"alt": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri"
},
"width": {
"type": "number",
"exclusiveMinimum": 0
},
"height": {
"type": "number",
"exclusiveMinimum": 0
},
"caption": {
"type": "string"
}
}
},
"type": {
"type": "string",
"const": "image"
},
"version": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
}
},
{
"type": "object",
"required": [
"id",
"version",
"type",
"data"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"data": {
"type": "object",
"required": [
"ordered",
"items"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 1
},
"ordered": {
"type": "boolean"
}
}
},
"type": {
"type": "string",
"const": "list"
},
"version": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
}
},
{
"type": "object",
"required": [
"id",
"version",
"type",
"data"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"data": {
"type": "object",
"required": [
"text"
],
"properties": {
"cite": {
"type": "string"
},
"text": {
"type": "string",
"minLength": 1
}
}
},
"type": {
"type": "string",
"const": "quote"
},
"version": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
}
},
{
"type": "object",
"required": [
"id",
"version",
"type",
"data"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"data": {
"type": "object",
"required": [
"lang",
"code"
],
"properties": {
"code": {
"type": "string",
"minLength": 1
},
"lang": {
"type": "string"
}
}
},
"type": {
"type": "string",
"const": "code"
},
"version": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
}
},
{
"type": "object",
"required": [
"id",
"version",
"type",
"data"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"data": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"type": {
"type": "string",
"const": "divider"
},
"version": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
}
},
{
"type": "object",
"required": [
"id",
"version",
"type",
"data"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"data": {
"type": "object",
"required": [
"size"
],
"properties": {
"size": {
"enum": [
"sm",
"md",
"lg"
],
"type": "string"
}
}
},
"type": {
"type": "string",
"const": "spacer"
},
"version": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
}
},
{
"type": "object",
"required": [
"id",
"version",
"type",
"data"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"data": {
"type": "object",
"required": [
"provider",
"url"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"provider": {
"enum": [
"youtube",
"vimeo",
"iframe"
],
"type": "string"
},
"aspectRatio": {
"type": "string"
}
}
},
"type": {
"type": "string",
"const": "embed"
},
"version": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
}
},
{
"type": "object",
"required": [
"id",
"version",
"type",
"data"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"data": {
"type": "object",
"required": [
"html"
],
"properties": {
"html": {
"type": "string",
"minLength": 1
}
}
},
"type": {
"type": "string",
"const": "html"
},
"version": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
}
},
{
"type": "object",
"required": [
"id",
"version",
"type",
"data"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"data": {
"type": "object",
"required": [
"videoId"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"title": {
"type": "string"
},
"videoId": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{11}$"
},
"aspectRatio": {
"type": "string"
},
"startSeconds": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
}
},
"type": {
"type": "string",
"const": "youtube"
},
"version": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
}
},
{
"type": "object",
"required": [
"id",
"version",
"type",
"data"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"data": {
"type": "object",
"required": [
"url",
"mimeType",
"sizeBytes",
"originalName"
],
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"icon": {
"enum": [
"pdf",
"doc",
"image",
"video",
"audio",
"generic"
],
"type": "string"
},
"mimeType": {
"type": "string",
"minLength": 1
},
"sizeBytes": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"displayName": {
"type": "string"
},
"originalName": {
"type": "string",
"minLength": 1
}
}
},
"type": {
"type": "string",
"const": "file"
},
"version": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
}
},
{
"type": "object",
"required": [
"id",
"version",
"type",
"data"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"data": {
"type": "object",
"required": [
"items"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"question",
"answer"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"answer": {
"type": "string"
},
"question": {
"type": "string",
"minLength": 1
}
}
}
},
"title": {
"type": "string"
}
}
},
"type": {
"type": "string",
"const": "faq"
},
"version": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
}
},
{
"type": "object",
"required": [
"id",
"version",
"type",
"data"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"data": {
"type": "object",
"required": [
"tone",
"body"
],
"properties": {
"body": {
"type": "string",
"minLength": 1
},
"tone": {
"enum": [
"info",
"success",
"warning",
"danger",
"note"
],
"type": "string"
},
"title": {
"type": "string"
}
}
},
"type": {
"type": "string",
"const": "callout"
},
"version": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
}
},
{
"type": "object",
"required": [
"id",
"version",
"type",
"data"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"data": {
"type": "object",
"required": [
"layout",
"images"
],
"properties": {
"images": {
"type": "array",
"items": {
"type": "object",
"required": [
"url",
"alt"
],
"properties": {
"alt": {
"type": "string"
},
"url": {
"type": "string",
"format": "uri"
},
"caption": {
"type": "string"
}
}
}
},
"layout": {
"enum": [
"grid",
"masonry",
"carousel"
],
"type": "string"
}
}
},
"type": {
"type": "string",
"const": "gallery"
},
"version": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
}
},
{
"type": "object",
"required": [
"id",
"version",
"type",
"data"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"data": {
"type": "object",
"required": [
"label",
"href"
],
"properties": {
"href": {
"type": "string",
"minLength": 1
},
"label": {
"type": "string",
"minLength": 1
},
"style": {
"enum": [
"primary",
"secondary",
"ghost"
],
"type": "string"
},
"openInNewTab": {
"type": "boolean"
}
}
},
"type": {
"type": "string",
"const": "cta"
},
"version": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
}
},
{
"type": "object",
"required": [
"id",
"version",
"type",
"data"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"data": {
"type": "object",
"required": [
"items"
],
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"title",
"body"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"body": {
"type": "string"
},
"title": {
"type": "string",
"minLength": 1
}
}
}
},
"semantic": {
"enum": [
"faq",
"plain"
],
"type": "string"
}
}
},
"type": {
"type": "string",
"const": "accordion"
},
"version": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
}
},
{
"type": "object",
"required": [
"id",
"version",
"type",
"data"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"data": {
"type": "object",
"required": [
"slug"
],
"properties": {
"slug": {
"type": "string",
"minLength": 1
},
"layout": {
"enum": [
"card",
"inline"
],
"type": "string"
}
}
},
"type": {
"type": "string",
"const": "product"
},
"version": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
}
},
{
"type": "object",
"required": [
"id",
"version",
"type",
"data"
],
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"data": {
"type": "object",
"required": [
"columns"
],
"properties": {
"align": {
"enum": [
"start",
"center",
"stretch"
],
"type": "string"
},
"columns": {
"type": "array",
"items": {
"type": "object",
"required": [
"blocks"
],
"properties": {
"span": {
"type": "number",
"exclusiveMinimum": 0
},
"blocks": {
"type": "array",
"items": {
"allOf": [
{
"$ref": "#/definitions/__schema0"
}
]
}
}
}
},
"maxItems": 4,
"minItems": 2
},
"stackBelow": {
"type": "string",
"pattern": "^(0|[0-9]+(\\.[0-9]+)?(px|rem|em|vw|vh|%))$"
}
}
},
"type": {
"type": "string",
"const": "columns"
},
"version": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
}
}
]
}
}
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
FavCRM
https://github.com/favcrm/mcp
1/7 registries