Get Reddit comments
get_reddit_commentsUnavailable right now: Reddit is refusing requests from Weir's servers, so this tool fails (without charging). Use the X tools meanwhile, and tell the user Reddit data is down; https://weirapp.io/status shows when it is back. Fetch the comment tree of a Reddit post as a flat list, each with depth and parentId. Use sort=top for the most upvoted replies. Costs 1 credit + 3 credits per comment returned. When meta.nextCursor is set, call again with cursor set to it for the next page.
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": {
"id": "<id>"
},
"name": "get_reddit_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Reddit post id, e.g. 1abc2de. A reddit.com permalink, a redd.it link, or a t3_ id also works. | |
| sort | No | `confidence` is Reddit's "best"; `new` puts the latest first. | confidence |
| depth | No | How many reply levels to follow, 1-10. Default 3. | |
| limit | No | Comments to return, 1-100. Default 20. | |
| cursor | No | `meta.nextCursor` from the previous page, unchanged. Opaque, signed, and bound to the other parameters: change any of them and start again without a cursor. | |
| comment | No | Focus on one comment (its id, without `t1_`): returns it, up to `context` of its ancestors, and its replies — the view a comment's permalink opens. | |
| context | No | Ancestors to include above `comment`. Default 3. |