list_comment_threads
Find unresolved comment threads in a Paper file with filters for page, node, status, author, and search. Returns compact summaries so you can spot discussion, then open full threads for replies.
Instructions
List visible comment threads in the open file as compact summaries. A comment thread is a conversation pinned to a node: a first message plus reply messages, each with its own author, and an "open" or "resolved" workflow status. Lists only open (unresolved) threads by default. Use this first to discover relevant discussion, then call get_comment_thread for full replies. If you are tasked and fully addressing a thread's feedback, mark it done with set_comment_thread_status. Supports page, node, status, author, search, sort, and pagination filters. User ID filters accept "current-user" for the signed-in user. Deleted threads/messages are never returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum comment threads to return. Defaults to 50. | |
| fileId | No | Optional. The Paper file ID this call should act on. Pass it to reliably target a specific file when several are open at once (e.g. multiple agents from the same session working in parallel). Omit to use the most recently opened file in the session. | |
| nodeId | No | Optional node ID to list comment threads pinned to. | |
| offset | No | Number of matching comment threads to skip. Defaults to 0. | |
| pageId | No | Optional page ID to list comment threads from. Omit to include all pages. | |
| search | No | Case-insensitive search over author display names and visible message text. | |
| status | No | Filter by status. Defaults to "open": only unresolved comment threads, which are the ones still needing action. Pass "resolved" for finished threads or "all" for both. | |
| sortField | No | Field to sort by. Defaults to "page", matching the comment panel. | |
| searchScope | No | Search only the first visible message of each comment thread, or all visible messages. Defaults to "all-messages". | |
| previewLength | No | Maximum characters for each first-message preview. Defaults to 240. | |
| sortDirection | No | Sort direction. Defaults to "asc". | |
| currentPageOnly | No | If true, list only comment threads on the current page. Ignored when pageId is provided. | |
| participantUserId | No | Only return comment threads where this user wrote at least one visible message (thread author or replier). Pass "current-user" for the signed-in user you are acting on behalf of. For anyone else, use an authorUserId from earlier results; never guess user IDs. | |
| threadAuthorUserId | No | Only return comment threads started by this user (replies by them do not count; use participantUserId for that). Pass "current-user" for the signed-in user you are acting on behalf of. For anyone else, use an authorUserId from earlier results; never guess user IDs. |