fetch_posts
Retrieve posts from a single subreddit for analysis. Choose listing type, time filter, and post count.
Instructions
Fetch posts from a single subreddit
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": "fetch_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of posts | |
| time_filter | No | For 'top' listing | |
| listing_type | No | hot|new|top|rising | hot |
| subreddit_name | Yes | Subreddit name (without r/) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||