get_thread_markdown
Read or summarize a Loomio thread, discussion, or poll as server-rendered Markdown by passing exactly one ID; set max_chars to cap length. Refuses open polls with hidden results until the user votes.
Instructions
The best single call for 'summarise / read this thread': 2 calls by topic_id, discussion_id or poll_id (pass exactly one; +1 per 500 items when the thread has replies) return Loomio's server-rendered Markdown (markdown, chars, truncated). REFUSED while an open poll hides results until the user votes: use list_thread_items. max_chars cuts the END: truncated: true = newest items dropped.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| poll_id | No | Poll id or short key. | |
| topic_id | No | Thread id (`topic_id` on any thread row, NOT `id`). | |
| max_chars | No | Cap in chars; default 60000, -1 = all. Cuts the END; `truncated` flags it. | |
| discussion_id | No | Discussion id or short key. |