Slide kit command
comment.reply
Reply
Adds a reply to comment thread `thread` (or the `index`-th thread) and answers the comment.
- Kit
- Slide 0.1.0 (.kslide and .pptx)
- Changes the document
- yes
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
author | string | no | the author's principal id |
created | string | no | ISO 8601 time |
index | integer | no | a position counted from 0 (the first is 0); one of several alternative parameters |
name | string | no | |
text | string | no | |
thread | any | no | one of several alternative parameters |
Call through slide_run
text
slide_run {
"path": "<file>.pptx",
"steps": [{ "command": "comment.reply" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: author, created, index, name, text, thread. slide_run answers the step’s result in completed[i].result.
Result
The kit gives no result schema for this command.
Parameter schema
json
{
"additionalProperties": false,
"properties": {
"author": {
"description": "the author's principal id",
"type": "string"
},
"created": {
"description": "ISO 8601 time",
"type": "string"
},
"index": {
"description": "a position counted from 0 (the first is 0); one of several alternative parameters",
"type": "integer"
},
"name": {
"type": "string"
},
"text": {
"type": "string"
},
"thread": {
"description": "one of several alternative parameters",
"x-khp-types": [
"CommentThread"
]
}
},
"returns": "{comment}",
"type": "object"
}Generated from the command list of @kition/[email protected] and the kit itself (slide_commands through @kition/[email protected], built from KitionAI/kition-slide@7ef3d11). As data: commands.jsonl.