Edit Comment
edit_commentReplace the text of one of your own Reddit comments, overwriting the previous content and adding an edited marker.
Instructions
Replace the text of one of your own comments. Mutating and idempotent (same text → same result); it overwrites the previous content. Requires REDDIT_USERNAME and REDDIT_PASSWORD, and works only on comments you authored. Adds an "edited" marker. Use reply_to_post to add a new comment, or edit_post for posts. WARNING: rapid edits may trigger spam detection; enable REDDIT_SAFE_MODE for protection.
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": {
"thing_id": "<thing_id>",
"new_text": "<new_text>"
},
"name": "edit_comment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| new_text | Yes | Replacement comment text; fully overwrites the current content. Reddit markdown supported. | |
| thing_id | Yes | The comment to edit: a full thing id 't1_<id>' or just the base36 comment id '<id>' (the 't1_' prefix is added automatically). Must be a comment you authored. |