Comment on a post
comment_on_postPublish a comment on your Substack post or reply to an existing one. It appears publicly under your name, so explicit confirmation is required before running.
Instructions
Post a comment on one of your posts. This is published immediately under your name and is visible to everyone. There is no draft and no preview, so it refuses to run without confirm: true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | Comment text. | |
| confirm | No | Must be true for this to run. This action cannot be undone, so it is refused without an explicit confirmation. | |
| post_id | Yes | Numeric post id. | |
| parent_id | No | Reply to another comment by its id, rather than commenting on the post. | |
| publication | No | Which connected publication to act on, matched loosely against its hostname (for example 'example.substack.com' or just 'example'). Defaults to the first connected publication. |