Comment on a post
comment_on_postPublish a comment on a Substack post under your name. No draft or preview, requires confirm: true to avoid accidental publishing.
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 | Set true only when the user asked for exactly this action. | |
| 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. |