PDF kit command
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)
- 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 |
Result JSON Schema
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/[email protected] and the kit itself (pdf_commands through @kition/[email protected], built from KitionAI/kition-pdf@b0d2725). As data: commands.jsonl.