fc_create_comment
Add comments to posts in FluentCommunity WordPress plugin by specifying post ID, user ID, and message content to facilitate community discussions.
Instructions
Create a new comment on a post
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | Yes | The post ID to comment on | |
| user_id | Yes | The user ID creating the comment | |
| message | Yes | Comment message | |
| parent_id | No | Parent comment ID for replies |
Input Schema (JSON Schema)
{
"properties": {
"message": {
"description": "Comment message",
"type": "string"
},
"parent_id": {
"description": "Parent comment ID for replies",
"type": "number"
},
"post_id": {
"description": "The post ID to comment on",
"type": "number"
},
"user_id": {
"description": "The user ID creating the comment",
"type": "number"
}
},
"required": [
"post_id",
"user_id",
"message"
],
"type": "object"
}