append_post_block
ActiveTool of FavCRM
Append one or more blocks to the end of a post. Each block must be a valid block object: { id, version, type, data }. Types: paragraph, heading, image, list, quote, code, divider, spacer, embed, html, youtube, file, faq, callout, gallery, cta, accordion, product.
Parameters schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"postId",
"blocks"
],
"properties": {
"blocks": {
"type": "array",
"items": {
"$ref": "#/definitions/__schema0"
},
"minItems": 1,
"description": "Block(s) to append"
},
"postId": {
"type": "string",
"description": "The post ID"
}
},
"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