Slide kit command
command.list
List Commands
Lists the kit's commands with labels, parameters and whether they are enabled, filtered by a substring.
- Kit
- Slide 0.1.0 (.kslide and .pptx)
- Changes the document
- no
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
filter | string | no | a substring of the ids and labels |
onSlide | integer | no | the slide the ids are on, from 1 |
Call through slide_run
text
slide_run {
"path": "<file>.pptx",
"steps": [{ "command": "command.list" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: filter, onSlide. slide_run answers the step’s result in completed[i].result.
Result
Result JSON Schema
json
{
"items": {
"additionalProperties": true,
"properties": {
"disabled_reason": {
"type": "string"
},
"enabled": {
"type": "boolean"
},
"id": {
"type": "string"
},
"label": {
"type": "string"
},
"menu": {
"items": {
"type": "string"
},
"type": "array"
},
"params": {
"type": "string"
},
"shortcut": {}
},
"type": "object"
},
"type": "array"
}Parameter schema
json
{
"additionalProperties": false,
"properties": {
"filter": {
"description": "a substring of the ids and labels",
"type": "string"
},
"onSlide": {
"description": "the slide the ids are on, from 1",
"type": "integer"
}
},
"returns": "[{id, label, params, enabled}]",
"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.