Vector kit command
linkedFile.list
Links
Answers every image and placed document as the Links panel lists them, filtered and sorted.
- Kit
- Vector 0.1.0 (.kvector)
- Changes the document
- no
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
on | boolean | no | read by the command beside its listed parameters |
show | "all" | "missing" | "modified" | "embedded" | no | default |
sort | "name" | "kind" | "status" | no |
Call through vector_run
text
vector_run {
"path": "<file>.kvector",
"steps": [{ "command": "linkedFile.list" }]
}The required parameters, with placeholders for their types: not a tested example. Optional: on, show, sort. vector_run answers the step’s result in completed[i].result.
Result
| Name | Type | Required | Description |
|---|---|---|---|
embedded | number | no | |
links | any[] | no | |
missing | number | no | |
modified | number | no |
Result JSON Schema
json
{
"additionalProperties": true,
"properties": {
"embedded": {
"type": "number"
},
"links": {
"type": "array"
},
"missing": {
"type": "number"
},
"modified": {
"type": "number"
}
},
"type": "object"
}Parameter schema
json
{
"additionalProperties": false,
"properties": {
"on": {
"description": "read by the command beside its listed parameters",
"type": "boolean"
},
"show": {
"description": "default",
"enum": [
"all",
"missing",
"modified",
"embedded"
],
"type": "string"
},
"sort": {
"enum": [
"name",
"kind",
"status"
],
"type": "string"
}
},
"returns": "{links: [{id, name, linked, status: ok|modified|missing|embedded, format, pixelWidth, pixelHeight, path?, found?: path (found away from its path), page?, preview?: true (showing the saved preview), document?: true (a placed document: pageWidth and pageHeight in pt instead of pixels)}], missing, modified, embedded}",
"type": "object"
}Generated from the command list of @kition/[email protected] and the kit itself (vector_commands through @kition/[email protected], built from KitionAI/kition-vector@7cf908f). As data: commands.jsonl.