search_posts
Search post titles and text in a specified subreddit, add synonym variations, and rank the best match first to surface relevant discussions.
Instructions
Search post titles and text in one subreddit (required). Adds synonyms and ranks the best match first.
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": "<subreddit>",
"query": "<query>"
},
"name": "search_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | desc | |
| after | No | ||
| limit | No | ||
| query | Yes | ||
| before | No | ||
| subreddit | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |