Get Post Flairs
get_post_flairsFetch a subreddit's selectable link flairs and their IDs so you can apply the correct flair when creating a post.
Instructions
List a subreddit's selectable link flairs (flair text + flair_id) for use with create_post. Read-only, but requires user credentials; many subreddits expose flairs only to members, so this can 403 or return empty without credentials. Pass a returned flair_id (and flair_text for text-editable flairs) to create_post. For the subreddit's posting rules use get_subreddit_rules instead.
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": {
"subreddit_name": "<subreddit_name>"
},
"name": "get_post_flairs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subreddit_name | Yes | The subreddit name, without the r/ prefix (e.g. 'gadgets'). |