reply_to_post
Reply to any Reddit post by providing the post ID, content, and optional subreddit name. The tool validates inputs and returns details about the created reply and parent post.
Instructions
Post a reply to an existing Reddit post.
Args:
post_id: The ID of the post to reply to (can be full URL, permalink, or just ID)
content: The content of the reply (1-10000 characters)
subreddit: The subreddit name if known (for validation, with or without 'r/' prefix)
Returns:
Dictionary containing information about the created reply and parent post
Raises:
ValueError: If input validation fails or post is not found
RuntimeError: For other errors during reply creation
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content | Yes | ||
post_id | Yes | ||
subreddit | No |
Input Schema (JSON Schema)
{
"properties": {
"content": {
"title": "Content",
"type": "string"
},
"post_id": {
"title": "Post Id",
"type": "string"
},
"subreddit": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Subreddit"
}
},
"required": [
"post_id",
"content"
],
"title": "reply_to_postArguments",
"type": "object"
}