get_reply_candidates
Retrieves unresolved pins needing AI response, sorted newest-first. Pins are returned when the latest message is a human mention of @pincushion or a human reply to a bot-authored pin.
Instructions
Used by /pincushion-replies. Returns pins where Pincushion AI should respond, with each candidate tagged by trigger reason. Two triggers: (a) "mention" — the latest thread message contains @pincushion AND was authored by a human; (b) "reply-on-bot-pin" — the pin was originally authored by Pincushion AI and the latest message is from a human. Skips resolved/archived pins and any pin where the latest message is already bot-authored (idempotency). Newest-first ordering so the slash command can pace replies.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | Optional project ID to filter by. If omitted, returns candidates across all projects. |