PDF kit command
action.list
List actions
Action Wizard: the built-in actions (name, description, steps) and every step an action can use (id, label, whether it takes a text argument).
- Kit
- PDF 0.1.0 (.pdf)
- Changes the document
- no
Parameters
None.
Call through pdf_run
text
pdf_run {
"path": "<file>.pdf",
"steps": [{ "command": "action.list" }]
}The required parameters, with placeholders for their types: not a tested example. pdf_run answers the step’s result in completed[i].result.
Result
| Name | Type | Required | Description |
|---|---|---|---|
actions | object[] | no | |
steps | object[] | no |
Result JSON Schema
json
{
"additionalProperties": true,
"properties": {
"actions": {
"items": {
"additionalProperties": true,
"properties": {
"description": {
"type": "string"
},
"name": {
"type": "string"
},
"steps": {}
},
"type": "object"
},
"type": "array"
},
"steps": {
"items": {
"additionalProperties": true,
"properties": {
"label": {
"type": "string"
},
"step": {
"type": "string"
},
"takes_arg": {
"type": "boolean"
}
},
"type": "object"
},
"type": "array"
}
},
"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.