create_post
Create a new post in a specified subreddit with a title and content, supporting both text and link submissions.
Instructions
Create a new post in a subreddit
Input Schema
Name | Required | Description | Default |
---|---|---|---|
content | Yes | Content of the post (text for self posts, URL for link posts) | |
is_self | No | Whether this is a self (text) post (true) or link post (false) | |
subreddit | Yes | Name of the subreddit to post in | |
title | Yes | Title of the post |
Input Schema (JSON Schema)
{
"properties": {
"content": {
"description": "Content of the post (text for self posts, URL for link posts)",
"type": "string"
},
"is_self": {
"default": true,
"description": "Whether this is a self (text) post (true) or link post (false)",
"type": "boolean"
},
"subreddit": {
"description": "Name of the subreddit to post in",
"type": "string"
},
"title": {
"description": "Title of the post",
"type": "string"
}
},
"required": [
"subreddit",
"title",
"content"
],
"type": "object"
}