Skip to main content
FuseFuse
IntegrationsNotionActions

Create Notion comment

Create a Notion comment with strict rich text content.

Agent markdown

comments.create · Notion · v1

Details

Risk
Write
Idempotency
Unsafe
Availability
Default
Exposure
REST, SDK, MCP
MCP hints
readOnly=false, destructive=false, idempotent=false, openWorld=true

Scopes

  • insert_comments

Input

Input schema
NameTypeRequiredConstraints
(root)objectYesadditionalProperties false; oneOf branch 1: required rich_text, parent / branch 2: required rich_text, discussion_id
parentobjectNoadditionalProperties false; oneOf branch 1: required page_id / branch 2: required block_id
parent.page_idstringNominLength 1; maxLength 64
parent.block_idstringNominLength 1; maxLength 64
discussion_idstringNominLength 1; maxLength 64
rich_textarray<object>YesmaxItems 100
rich_text[]objectYesadditionalProperties false
rich_text[].typestringYesenum text
rich_text[].textobjectYesadditionalProperties false
rich_text[].text.contentstringYesminLength 1; maxLength 2000
rich_text[].text.linkobjectNoadditionalProperties false
rich_text[].text.link.urlstringYesminLength 8; maxLength 2048; pattern ^https://; format uri
rich_text[].annotationsobjectNoadditionalProperties false
rich_text[].annotations.boldbooleanNo
rich_text[].annotations.italicbooleanNo
rich_text[].annotations.strikethroughbooleanNo
rich_text[].annotations.underlinebooleanNo
rich_text[].annotations.codebooleanNo

Output

Output schema
NameTypeRequiredConstraints
(root)objectYesadditionalProperties false
idstringYesminLength 1; maxLength 64
objectstringYesminLength 1; maxLength 64
discussion_idstringNominLength 1; maxLength 64
rich_textarray<object>NomaxItems 100
rich_text[]objectYesadditionalProperties false
rich_text[].plain_textstringYesmaxLength 2000
rich_text[].hrefstringNomaxLength 2048

Raw schema

Input
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "parent": {
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "page_id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 64
        },
        "block_id": {
          "type": "string",
          "minLength": 1,
          "maxLength": 64
        }
      },
      "oneOf": [
        {
          "required": [
            "page_id"
          ]
        },
        {
          "required": [
            "block_id"
          ]
        }
      ]
    },
    "discussion_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    },
    "rich_text": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "type": {
            "type": "string",
            "enum": [
              "text"
            ]
          },
          "text": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "content": {
                "type": "string",
                "minLength": 1,
                "maxLength": 2000
              },
              "link": {
                "type": "object",
                "additionalProperties": false,
                "properties": {
                  "url": {
                    "type": "string",
                    "minLength": 8,
                    "maxLength": 2048,
                    "pattern": "^https://",
                    "format": "uri"
                  }
                },
                "required": [
                  "url"
                ]
              }
            },
            "required": [
              "content"
            ]
          },
          "annotations": {
            "type": "object",
            "additionalProperties": false,
            "properties": {
              "bold": {
                "type": "boolean"
              },
              "italic": {
                "type": "boolean"
              },
              "strikethrough": {
                "type": "boolean"
              },
              "underline": {
                "type": "boolean"
              },
              "code": {
                "type": "boolean"
              }
            }
          }
        },
        "required": [
          "type",
          "text"
        ]
      },
      "maxItems": 100
    }
  },
  "required": [
    "rich_text"
  ],
  "oneOf": [
    {
      "required": [
        "rich_text",
        "parent"
      ]
    },
    {
      "required": [
        "rich_text",
        "discussion_id"
      ]
    }
  ]
}
Output
{
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    },
    "object": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    },
    "discussion_id": {
      "type": "string",
      "minLength": 1,
      "maxLength": 64
    },
    "rich_text": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": false,
        "properties": {
          "plain_text": {
            "type": "string",
            "maxLength": 2000
          },
          "href": {
            "type": "string",
            "maxLength": 2048
          }
        },
        "required": [
          "plain_text"
        ]
      },
      "maxItems": 100
    }
  },
  "required": [
    "id",
    "object"
  ]
}