create_comment
Create a comment on a Contentful entry with a body and status. Support threaded replies via parent ID to extend discussions beyond 512 characters.
Instructions
Create a new comment on an entry. The comment will be created with the specified body and status. To create a threaded conversation (reply to an existing comment), provide the parent comment ID. This allows you to work around the 512-character limit by creating threaded replies.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"entryId": "<entryId>",
"body": "<body>",
"spaceId": "<spaceId>",
"environmentId": "<environmentId>"
},
"name": "create_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entryId | Yes | The unique identifier of the entry to comment on | |
| body | Yes | The content of the comment (max 512 characters) | |
| status | No | The status of the comment | active |
| parent | No | Optional ID of the parent comment to reply to. Use this to create threaded conversations or to continue longer messages by replying to your own comments. | |
| spaceId | Yes | The ID of the Contentful space. This must be the space's ID, not its name, ask for this ID if it's unclear. | |
| environmentId | Yes | The ID of the environment within the space, by default this will be called Master | master |