Social Post Comment
social_post_commentPost a comment on a Scratch project, studio, or user profile using the active session. Handles rate limits and rejected content.
Instructions
Post a comment on a project, a studio, or a user's profile, as the active session.
Requires a logged-in session. To reply to an existing comment, prefer
social_reply_to_comment.
Scratch rate-limits commenting and rejects content it considers spam or disallowed, which surfaces as a CommentPostFailure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | "project", "studio", or "profile" to comment on a user's profile. | |
| content | Yes | The comment text. Max 500 characters. | |
| parent_id | No | Id of a top-level comment to reply to. Leave unset for a new top-level comment. | |
| source_id | Yes | The numeric project or studio id, or the username, matching `source`. | |
| commentee_id | No | Numeric user id to @-mention and notify. Leave unset for none. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| source | Yes | ||
| content | Yes | ||
| author_id | Yes | ||
| parent_id | Yes | ||
| source_id | Yes | ||
| author_name | Yes | ||
| reply_count | Yes | ||
| commentee_id | Yes | ||
| is_top_level | Yes | ||
| datetime_created | Yes | ||
| written_by_scratchteam | Yes |