---
title: "comment.resolve: Resolve a comment thread — Note kit command — Kition"
description: "Marks the comment thread `thread` resolved, or open again with `resolved: false`."
canonical: "https://developer.kition.ai/docs/kits/note/commands/comment.resolve"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/note/commands/comment.resolve](https://developer.kition.ai/docs/kits/note/commands/comment.resolve)

# comment.resolve

**Resolve a comment thread.** Marks the comment thread `thread` resolved, or open again with `resolved: false`.

- Kit: Note 0.3.0 (Markdown (.md)); reference: [Note kit commands](https://developer.kition.ai/docs/kits/note.md)
- Changes the document: yes
- Acts on: `thread` (one id), which a run step’s `on` fills

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `resolved` | `boolean` | no | Resolved, or open again. |
| `thread` | `string` | yes | The thread's id. |

## Call through note_run

```text
note_run {
  "path": "<file>.md",
  "steps": [{ "command": "comment.resolve", "params": { "thread": <string> } }]
}
```

The required parameters, with placeholders for their types: not a tested example. Optional: `resolved`. note_run answers the step’s result in `completed[i].result`.

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `thread` | `string` | yes | The thread's id. |

```json
{
  "additionalProperties": false,
  "properties": {
    "thread": {
      "description": "The thread's id.",
      "type": "string"
    }
  },
  "required": [
    "thread"
  ],
  "type": "object"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "resolved": {
      "default": true,
      "description": "Resolved, or open again.",
      "type": "boolean"
    },
    "thread": {
      "description": "The thread's id.",
      "type": "string",
      "x-khp-types": [
        "CommentThread"
      ]
    }
  },
  "required": [
    "thread"
  ],
  "type": "object"
}
```

Generated from kition-sdk packages/script/kits/note.ts and the kit itself (kition-note@69e14d9).
