Add Comment to Post
add_comment_to_postAdd a comment to a post given the post id.
Purpose: Add a comment to a post given the post id.
What this tool returns: { success: true, comment_id: "123" } on successful comment addition; otherwise a hash with success set to false and an optional message, e.g. { success: false, message: "..." }.
When the result also has
awaiting_approval: true, the comment waits for the padlet's approval or content check, so tell the user others cannot see it yet.
Guidance for use:
post_id should be a string that represents an integer ID, i.e. only contain digits. If you don't know the integer ID, try getting the padlet's content first.
When the result has expected: true, the comment can't be added as things stand (for example, comments are turned off). Tell the user the message instead of retrying.
Pass
attachmentwhen the user wants a file or link on the comment. A comment may carry text, an attachment, or both.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | Yes | The id of the post to add a comment to. Must be a string that represents an integer ID, i.e. only contain digits. If you don't know the integer ID, try getting the padlet's content first. | |
| wall_url | Yes | The padlet's link (e.g. https://padlet.com/foo/bar-a1b2c3): the link you were given, the `wall_url` a previous call returned, or a link the user pasted. Not a breakout-room or submission link, and not a padlet id: no tool takes a wall_id. | |
| attachment | No | A file or link to attach: the url an upload tool returned, or any public https address. | |
| comment_body | No | The text body of the comment to add. Use only plain text, no markdown or HTML. |