get_subreddit_info
Retrieve detailed information about any Reddit community, including statistics, rules, and metadata, by providing the subreddit name.
Instructions
Get information about a subreddit.
Args:
subreddit_name: Name of the subreddit (with or without 'r/' prefix)
Returns:
Dictionary containing subreddit information
Raises:
ValueError: If subreddit_name is invalid or subreddit not found
RuntimeError: For other errors during the operation
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_subreddit_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subreddit_name | Yes |