chieflab_measure_reddit
P115 — pull a Reddit post's score + comments + upvote ratio + top replies via the public Reddit JSON API and write them to the action's metadata.proof. USE WHEN a published Reddit action is ripe for 24h measurement. Parses subreddit + post id from the publishedUrl, calls https://www.reddit.com/r//comments/.json (no auth), auto-creates next-move actions based on the outcome (trending → reply + cross-post; engaged → reply; downvoted → rewrite angle). Idempotent — second call returns existing measurement unless force:true.
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": {
"actionId": "<actionId>"
},
"name": "chieflab_measure_reddit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | Re-measure even if metadata.proof.measuredAt is already set. Default false. | |
| actionId | Yes | The action id whose publishedUrl points at the Reddit post. Required. | |
| workspaceId | No | Optional workspace id. |