Edits the body text of the authenticated user's own existing comment or self-post on Reddit; cannot edit link posts or titles.
AI agents use REDDIT_EDIT_REDDIT_COMMENT_OR_POST to create or update resources in Reddit — usually the action step of a workflow, after the agent has gathered context. Every call changes real data in your Reddit environment.
| Parameter | Type | Required | Description |
|---|---|---|---|
text | string | — | The new raw markdown text for the body of the comment or self-post. |
thing_id | string | — | The full name (fullname) of the comment or self-post to edit. This is a combination of a prefix (e.g., 't1_' for comment, 't3_' for post) and the item's ID. |
Parameters from the server's own tool schema.
This tool modifies existing data (comment or post body text) but does so reversibly and without deletion or destruction. The user retains ability to re-edit or restore content. While Edit operations could be destructive if they overwrote irreplaceable data, Reddit's edit history and undo capabilities mitigate this.
From the tool's definition Tool description states it 'Edits the body text of the authenticated user's own existing comment or self-post on Reddit'. The verb 'edits' and the action of modifying existing content are characteristic of Write operations.
Documented attack patterns abuse exactly the kind of access REDDIT_EDIT_REDDIT_COMMENT_OR_POST gives an agent:
PolicyLayer is an MCP gateway — it sits between your AI agents and Reddit, and nothing reaches the server without passing your rules. This is the rule we recommend for REDDIT_EDIT_REDDIT_COMMENT_OR_POST:
{
"version": "1",
"default": "deny",
"tools": {
"REDDIT_EDIT_REDDIT_COMMENT_OR_POST": {
"limits": [
{
"counter": "reddit_edit_reddit_comment_or_post_rate",
"window": "minute",
"max": 30,
"scope": "grant"
}
]
}
}
} REDDIT_EDIT_REDDIT_COMMENT_OR_POST stays usable, but capped — an agent stuck in a loop can't make hundreds of changes a minute. Everything else on the server is denied unless you say otherwise.
Free to start. No card required.
Edits the body text of the authenticated user's own existing comment or self-post on Reddit; cannot edit link posts or titles. It is categorised as a Write tool in the Reddit MCP Server, which means it can create or modify data. Consider rate limits to prevent runaway writes.
REDDIT_EDIT_REDDIT_COMMENT_OR_POST accepts 2 parameters: text, thing_id. The full parameter table on this page comes from the server's own tool schema.
Register the Reddit MCP server in PolicyLayer and add a rule for REDDIT_EDIT_REDDIT_COMMENT_OR_POST: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Reddit. Nothing to install.
REDDIT_EDIT_REDDIT_COMMENT_OR_POST is a Write tool with medium risk. Write tools should be rate-limited to prevent accidental bulk modifications.
Yes. Add a rate_limit block to the REDDIT_EDIT_REDDIT_COMMENT_OR_POST rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for REDDIT_EDIT_REDDIT_COMMENT_OR_POST. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
REDDIT_EDIT_REDDIT_COMMENT_OR_POST is provided by the Reddit MCP server (reddit-mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Deterministic rules across all 26 Reddit tools. Per-identity grants. Full audit log. Live in minutes. Nothing to install.
Free to start. No card required.
26 Reddit tools catalogued and risk-classified — across an index of 42,500+ MCP servers.