list_thread_items
Retrieve structured items from a Loomio thread—comments, polls, stances, outcomes, and referenced users—by topic, discussion, or poll ID, with pagination for large threads.
Instructions
One thread as structured items: 1 call per 500 items by topic_id (+1 by discussion_id or poll_id; pass exactly one). Returns items[] in thread order plus the comments, polls, stances (votes), outcomes and users they reference. Paged by limit / offset under the max_total_chars budget (kinds reads the whole thread); next_offset says where to continue.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kinds | No | Item kinds to keep (e.g. new_comment, stance_created); 'other' = unlisted kinds. | |
| limit | No | Items after the kinds filter; default 200, max 1000. | |
| offset | No | Items to skip. Default 0. | |
| poll_id | No | Poll id or short key (+1 call). | |
| topic_id | No | Thread id (`topic_id` on any thread row, NOT `id`); no extra call. | |
| strip_html | No | Plain text instead of HTML bodies, reasons, outcomes; default true. | |
| discussion_id | No | Discussion id or short key (+1 call); prefer `topic_id`. | |
| body_max_chars | No | Chars per `body`; default 4000, 0 omits it, -1 = full. | |
| max_total_chars | No | Reply budget in chars; default 120000, -1 = none. See next_offset. | |
| include_reactions | No | Also return emoji `reactions`. Default false. |