Docs
list_comments
Read the comments on content, oldest first, from members, reviewers (guests on a share link) and agents. Filter by `postId` or `target`, and leave out resolved ones with `includeResolved: false`. Each comment says who wrote it and, for comments on a text range, whether the quoted text is still there (`anchorStatus` current or moved, with `currentRange`) or `outdated` (the text changed; read `quotedText`). Replies carry `parentCommentId`. `byVersion: true` labels each comment with the `version` it is on (`label` like "Original draft" or "LinkedIn · @acme", `currentVersion`) and adds `versions` (every version, with or without comments, for grouping) and `counts`. Address feedback, then resolve_comment.
Read the comments on content, oldest first, from members, reviewers (guests on a share link) and agents. Filter by postId or target, and leave out resolved ones with includeResolved: false. Each comment says who wrote it and, for comments on a text range, whether the quoted text is still there (anchorStatus current or moved, with currentRange) or outdated (the text changed; read quotedText). Replies carry parentCommentId. byVersion: true labels each comment with the version it is on (label like "Original draft" or "LinkedIn · @acme", currentVersion) and adds versions (every version, with or without comments, for grouping) and counts. Address feedback, then resolve_comment.
Access and cost
- Kind: query
- Scope: workspace
- Actors: member, agent
- Credits: Free
- Requires confirmation: false
- Accepts idempotency key: false
Input schema
{
"properties": {
"workspaceId": {
"format": "uuid",
"type": "string"
},
"pieceId": {
"format": "uuid",
"type": "string"
},
"postId": {
"format": "uuid",
"type": "string"
},
"target": {
"enum": [
"piece",
"master",
"post"
],
"type": "string"
},
"includeResolved": {
"default": true,
"type": "boolean"
},
"byVersion": {
"default": false,
"type": "boolean"
}
},
"required": [
"workspaceId",
"pieceId"
],
"type": "object"
}Output schema
{
"additionalProperties": false,
"properties": {
"comments": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"format": "uuid",
"type": "string"
},
"workspaceId": {
"format": "uuid",
"type": "string"
},
"pieceId": {
"format": "uuid",
"type": "string"
},
"target": {
"enum": [
"piece",
"master",
"post"
],
"type": "string"
},
"postId": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
]
},
"segmentIndex": {
"anyOf": [
{
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"rangeStart": {
"anyOf": [
{
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"rangeEnd": {
"anyOf": [
{
"minimum": 0,
"type": "integer"
},
{
"type": "null"
}
]
},
"quotedText": {
"type": [
"string",
"null"
]
},
"anchorVersion": {
"anyOf": [
{
"minimum": 1,
"type": "integer"
},
{
"type": "null"
}
]
},
"parentCommentId": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
]
},
"body": {
"type": "string"
},
"authorKind": {
"enum": [
"member",
"guest",
"agent"
],
"type": "string"
},
"authorAccountId": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
]
},
"authorGuestId": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
]
},
"authorAgentClientId": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
]
},
"resolvedAt": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
]
},
"resolvedByAccountId": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
]
},
"createdAt": {
"format": "date-time",
"type": "string"
},
"updatedAt": {
"format": "date-time",
"type": "string"
},
"author": {
"additionalProperties": false,
"properties": {
"kind": {
"enum": [
"member",
"guest",
"agent",
"system"
],
"type": "string"
},
"accountId": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
]
},
"agentClientId": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
]
},
"guestId": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
}
},
"required": [
"kind",
"accountId",
"agentClientId",
"guestId",
"name"
],
"type": "object"
},
"anchorStatus": {
"enum": [
"whole",
"current",
"moved",
"outdated"
],
"type": "string"
},
"outdated": {
"type": "boolean"
},
"currentRange": {
"anyOf": [
{
"additionalProperties": false,
"properties": {
"start": {
"minimum": 0,
"type": "integer"
},
"end": {
"minimum": 0,
"type": "integer"
}
},
"required": [
"start",
"end"
],
"type": "object"
},
{
"type": "null"
}
]
},
"mentions": {
"items": {
"additionalProperties": false,
"properties": {
"accountId": {
"format": "uuid",
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"accountId",
"name"
],
"type": "object"
},
"type": "array"
},
"version": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"target": {
"enum": [
"piece",
"master",
"post"
],
"type": "string"
},
"postId": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
]
},
"channelAccountId": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
]
},
"platform": {
"anyOf": [
{
"enum": [
"x",
"linkedin",
"threads",
"bluesky",
"instagram",
"facebook",
"tiktok",
"youtube",
"sandbox"
],
"type": "string"
},
{
"type": "null"
}
]
},
"handle": {
"type": [
"string",
"null"
]
},
"label": {
"type": "string"
},
"currentVersion": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"isSkipped": {
"type": "boolean"
}
},
"required": [
"key",
"target",
"postId",
"channelAccountId",
"platform",
"handle",
"label",
"currentVersion",
"isSkipped"
],
"type": "object"
}
},
"required": [
"id",
"workspaceId",
"pieceId",
"target",
"postId",
"segmentIndex",
"rangeStart",
"rangeEnd",
"quotedText",
"anchorVersion",
"parentCommentId",
"body",
"authorKind",
"authorAccountId",
"authorGuestId",
"authorAgentClientId",
"resolvedAt",
"resolvedByAccountId",
"createdAt",
"updatedAt",
"author",
"anchorStatus",
"outdated",
"currentRange",
"mentions"
],
"type": "object"
},
"type": "array"
},
"versions": {
"items": {
"additionalProperties": false,
"properties": {
"key": {
"type": "string"
},
"target": {
"enum": [
"piece",
"master",
"post"
],
"type": "string"
},
"postId": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
]
},
"channelAccountId": {
"anyOf": [
{
"format": "uuid",
"type": "string"
},
{
"type": "null"
}
]
},
"platform": {
"anyOf": [
{
"enum": [
"x",
"linkedin",
"threads",
"bluesky",
"instagram",
"facebook",
"tiktok",
"youtube",
"sandbox"
],
"type": "string"
},
{
"type": "null"
}
]
},
"handle": {
"type": [
"string",
"null"
]
},
"label": {
"type": "string"
},
"currentVersion": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"isSkipped": {
"type": "boolean"
}
},
"required": [
"key",
"target",
"postId",
"channelAccountId",
"platform",
"handle",
"label",
"currentVersion",
"isSkipped"
],
"type": "object"
},
"type": "array"
},
"counts": {
"additionalProperties": false,
"properties": {
"total": {
"minimum": 0,
"type": "integer"
},
"open": {
"minimum": 0,
"type": "integer"
}
},
"required": [
"total",
"open"
],
"type": "object"
}
},
"required": [
"comments"
],
"type": "object"
}Errors
[]Annotations
{
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": false,
"readOnlyHint": true,
"title": "List comments"
}