API-create-a-comment
Add comments to Notion pages by specifying the page ID and comment content through an API tool, enabling AI assistants to interact with Notion workspaces programmatically.
Instructions
Notion | Create comment
Input Schema
Name | Required | Description | Default |
---|---|---|---|
parent | Yes | The page that contains the comment | |
rich_text | Yes |
Input Schema (JSON Schema)
{
"$defs": {},
"properties": {
"parent": {
"additionalProperties": true,
"description": "The page that contains the comment",
"properties": {
"page_id": {
"description": "the page ID",
"type": "string"
}
},
"required": [
"page_id"
],
"type": "object"
},
"rich_text": {
"items": {
"additionalProperties": true,
"properties": {
"text": {
"additionalProperties": true,
"properties": {
"content": {
"description": "The content of the comment",
"type": "string"
}
},
"required": [
"content"
],
"type": "object"
}
},
"required": [
"text"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"parent",
"rich_text"
],
"type": "object"
}