Docs
resolve_comment
Mark a comment as resolved once its feedback is addressed. It stays readable (list_comments with includeResolved). `resolved: false` reopens it when the feedback still needs work: it shows as open again in list_comments, get_content counts and Updates. Doing either twice is harmless.
Mark a comment as resolved once its feedback is addressed. It stays readable (list_comments with includeResolved). resolved: false reopens it when the feedback still needs work: it shows as open again in list_comments, get_content counts and Updates. Doing either twice is harmless.
Access and cost
- Kind: mutation
- Scope: workspace
- Actors: member, agent
- Credits: Free
- Requires confirmation: false
- Accepts idempotency key: false
Input schema
{
"properties": {
"workspaceId": {
"format": "uuid",
"type": "string"
},
"commentId": {
"format": "uuid",
"type": "string"
},
"resolved": {
"default": true,
"type": "boolean"
}
},
"required": [
"workspaceId",
"commentId"
],
"type": "object"
}Output schema
{
"additionalProperties": false,
"properties": {
"comment": {
"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"
}
},
"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"
}
},
"required": [
"comment"
],
"type": "object"
}Errors
[]Annotations
{
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": false,
"readOnlyHint": false,
"title": "Resolve a comment"
}