search_posts
Search Reddit posts by keyword across all subreddits or within a specific community to find discussions and content on any topic.
Instructions
Full-text search across Reddit or within a specific 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": {
"query": "<query>"
},
"name": "search_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | relevance | |
| after | No | ||
| limit | No | ||
| query | Yes | ||
| subreddit | No | ||
| time_filter | No | all |