reddit: Post comments
reddit_postCommentsPost comments. A post's comment tree, flattened into reading order with parentId preserved so callers can rebuild it. Returns the comments Reddit shows on the post's first page, with raw.totalComments giving the post's full count and pagination.hasMore true when more exist; pagination.cursor is null. Reddit collapses deep threads behind continuation stubs; fetch those with reddit.commentReplies. Costs 1 credit.
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": {
"url": "<url>"
},
"name": "reddit_postComments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Post URL (reddit.com/r/.../comments/...) or a post id | |
| sort | No | Reddit's comment sorts. "confidence" is the site default ("Best"). | confidence |
| depth | No | Reply levels to walk, 1-10. Default 4. | |
| limit | No | Top-level comments to request, 1-500. Default 100. | |
| cache_max_age | No |