PDF kit command
file.compareMark
Mark differences as comments
Add the differences from other (older) to doc (newer) as comments in doc: highlights over replaced (blue) and inserted (green) text, notes where text was deleted (red), authored Compare. Undoable.
- Kit
- PDF 0.1.0 (.pdf)
- Changes the document
- yes
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
other | integer | yes |
Call through pdf_run
text
pdf_run {
"path": "<file>.pdf",
"steps": [{ "command": "file.compareMark", "params": { "other": <integer> } }]
}The required parameters, with placeholders for their types: not a tested example. 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": {
"other": {
"type": "integer"
}
},
"required": [
"other"
],
"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.