---
title: "comment.list: List comments — PDF kit command — Kition"
description: "Every comment (annotation other than links, form widgets and pop-ups) with its page, index, id, type, author, text, date, rectangle, colour, review status and replies."
canonical: "https://developer.kition.ai/docs/kits/pdf/commands/comment.list"
---

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

# comment.list

**List comments.** Every comment (annotation other than links, form widgets and pop-ups) with its page, index, id, type, author, text, date, rectangle, colour, review status and replies.

- Kit: PDF 0.1.0 (.pdf); reference: [PDF kit commands](https://developer.kition.ai/docs/kits/pdf.md)
- Changes the document: no

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `page` | `integer` | no | Only this page. (minimum 1) |

## Call through pdf_run

```text
pdf_run {
  "path": "<file>.pdf",
  "steps": [{ "command": "comment.list" }]
}
```

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

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `comments` | `any[]` | no |  |
| `count` | `number` | no |  |

```json
{
  "additionalProperties": true,
  "properties": {
    "comments": {
      "type": "array"
    },
    "count": {
      "type": "number"
    }
  },
  "type": "object"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "page": {
      "description": "Only this page. (minimum 1)",
      "type": "integer"
    }
  },
  "type": "object"
}
```

Generated from the command list of @kition/pdf-darwin-arm64@0.1.0 and the kit itself (pdf_commands through @kition/cli@0.1.1, built from KitionAI/kition-pdf@b0d2725).
