Get Reddit subreddit threads
Input
sort optionalReddit's native subreddit sort. "new" is chronological (supports `since`); best/hot/top/rising are ranked (use `limit`). Default new.
Default: "new"time optionalTime window for sort:"top" only (default all). Rejected for other sorts.
limit optionalMax number of threads to return (newest first). With `since` and no `limit`, the time window is the only bound: every post in it is returned. With neither, 25. A maximum, not a guarantee: fewer matching threads returns what exists.
since optionalsort:"new" only - how far back to go: ISO date ("2026-06-01") or shorthand ("24h", "7d", "2w"). Combine with `limit` to cap a time window.
subreddit optionalSubreddit name, with or without the r/ prefix. Case-insensitive: Reddit redirects to the canonical casing (r/python -> r/Python) and the script follows it.
subreddits optionalNot supported since 19 Oct 2026: the run fails with a message saying so. Send one subreddit per call and fan out with run_script's scripts.
Output
count optionalthreads optionalcomplete optionaltrue when the feed (or the `since` window) ended before `limit` was reached, so every thread it holds is here; false when `limit` stopped the read and more threads exist.
subreddit optional