reddit_post_comments
Extract up to 200 flattened nested comments per call with integer depth, parent_id, author, and upvote score (no recursive MoreComments calls needed). Cost: 1 Credit ($0.0001) per returned comment.
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": {
"post_id": "<post_id>"
},
"name": "reddit_post_comments"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Comment sort order | |
| limit | No | Max comments to return (1-200) | |
| post_id | Yes | Reddit post ID (e.g. "1u0z4vz") or full thread URL |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Status code (0 for success) | |
| data | Yes | Flattened comment list payload and optional pagination cursor | |
| meta | No | Response metadata including request ID, billing credits used, and cache status | |
| status | Yes | Response status ("ok" or "error") |