{"id":"web.thread-pack","version":"1.0.0","category":"web","description":"Format supplied Reddit comments JSON into a bounded post and reply tree with original Markdown, authors and direct links. No fetch or generated consensus.","priceMicroUsdc":600,"priceRevision":"2026-09-13-testnet","pricingStatus":"experimental-unbenchmarked","inputSchema":{"type":"object","properties":{"sourceUrl":{"type":"string","maxLength":2048},"thread":{"type":"array","minItems":2,"maxItems":2},"maxChars":{"type":"integer","minimum":256,"maximum":12000,"default":12000},"maxComments":{"type":"integer","minimum":1,"maximum":100,"default":30}},"required":["sourceUrl","thread"],"additionalProperties":false},"outputSchema":{"type":"object","properties":{"source":{"type":"object","properties":{"kind":{"type":"string"},"url":{"type":"string"},"attribution":{"type":"string"},"createdAt":{"type":["string","null"]}},"required":["kind","url","attribution","createdAt"],"additionalProperties":false},"title":{"type":"string"},"post":{"type":"object","properties":{"id":{"type":"string"},"body":{"type":"string"},"author":{"type":["string","null"]},"subreddit":{"type":["string","null"]},"score":{"type":["number","null"]},"declaredComments":{"type":["number","null"]},"externalUrl":{"type":["string","null"]}},"required":["id","body","author","subreddit","score","declaredComments","externalUrl"],"additionalProperties":false},"comments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"parentId":{"type":"string"},"depth":{"type":"number"},"body":{"type":"string"},"author":{"type":["string","null"]},"score":{"type":["number","null"]},"createdAt":{"type":["string","null"]},"url":{"type":"string"},"unavailable":{"type":"boolean"},"truncated":{"type":"boolean"}},"required":["id","parentId","depth","body","author","score","createdAt","url","unavailable","truncated"],"additionalProperties":false}},"availableComments":{"type":"number"},"omittedComments":{"type":"number"},"moreChildren":{"type":"number"},"bodyOmittedChars":{"type":"number"},"truncated":{"type":"boolean"},"scope":{"type":"string"},"measurement":{"type":"object","properties":{"inputBytes":{"type":"number"},"resultBytes":{"type":"number"},"estimatedInputTokens":{"type":"number"},"estimatedResultTokens":{"type":"number"},"scope":{"type":"string"}},"required":["inputBytes","resultBytes","estimatedInputTokens","estimatedResultTokens","scope"],"additionalProperties":false}},"required":["source","title","post","comments","availableComments","omittedComments","moreChildren","bodyOmittedChars","truncated","scope","measurement"],"additionalProperties":false},"example":{"sourceUrl":"https://www.reddit.com/comments/abc123/","thread":[{"kind":"Listing","data":{"children":[{"kind":"t3","data":{"id":"abc123","name":"t3_abc123","title":"Synthetic equipment question","selftext":"Which cable fits this fictional device?","author":"example_author","subreddit":"example","permalink":"/r/example/comments/abc123/sample/","created_utc":1000,"num_comments":2,"score":5}}]}},{"kind":"Listing","data":{"children":[{"kind":"t1","data":{"id":"c001","name":"t1_c001","parent_id":"t3_abc123","body":"Model A uses connector X.","author":"example_one","score":2,"created_utc":1010,"permalink":"/r/example/comments/abc123/sample/c001/","replies":{"kind":"Listing","data":{"children":[{"kind":"t1","data":{"id":"c002","name":"t1_c002","parent_id":"t1_c001","body":"Check the revision: Model B uses Y.","author":"example_two","score":1,"created_utc":1020,"permalink":"/r/example/comments/abc123/sample/c002/","replies":""}}]}}}}]}}],"maxChars":3000,"maxComments":10},"limits":{"inputBytes":131072,"outputBytes":65536,"networkTimeoutMs":0},"network":false,"sensitive":false,"route":"/v1/tools/web.thread-pack"}