PDF kit command
edit.undo
Undo
Undo the last edit of a document in one undo history: the person's or the agents' (scope), else that of who runs the tool.
- Kit
- PDF 0.1.0 (.pdf)
- Changes the document
- yes
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
scope | "person" | "agent" | no | The undo history: the person's or the agents' (KitModel M12a). Default: that of who runs the tool. |
Call through pdf_run
text
pdf_run {
"path": "<file>.pdf",
"steps": [{ "command": "edit.undo" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: scope. pdf_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": {
"scope": {
"description": "The undo history: the person's or the agents' (KitModel M12a). Default: that of who runs the tool.",
"enum": [
"person",
"agent"
],
"type": "string"
}
},
"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.