Vector kit command

clipboard.flavours

Clipboard Formats

Answers the MIME types Copy offers other applications for the current clipboard, best first, according to the clipboard preferences.

Kit
Vector 0.1.0 (.kvector)
Changes the document
no

Parameters

Parameters of clipboard.flavours
NameTypeRequiredDescription
formatstringnoread by the command beside its listed parameters
idsany[]noread by the command beside its listed parameters

Call through vector_run

text
vector_run {
  "path": "<file>.kvector",
  "steps": [{ "command": "clipboard.flavours" }]
}

The required parameters, with placeholders for their types: not a tested example. Optional: format, ids. vector_run answers the step’s result in completed[i].result.

Result

Result of clipboard.flavours
NameTypeRequiredDescription
flavoursany[]no
Result JSON Schema
json
{
  "additionalProperties": true,
  "properties": {
    "flavours": {
      "type": "array"
    }
  },
  "type": "object"
}

Parameter schema

json
{
  "additionalProperties": false,
  "properties": {
    "format": {
      "description": "read by the command beside its listed parameters",
      "type": "string"
    },
    "ids": {
      "description": "read by the command beside its listed parameters",
      "type": "array"
    }
  },
  "returns": "{flavours: [mime…]} what Copy offers other apps for the current clipboard, best first, by the Clipboard Handling preferences: text/plain (a type-only copy's text, else the SVG markup with copyAsSvg), image/svg+xml (copyAsSvg), application/pdf (copyAsPdf), image/png (always; PDF and PNG only for objects with an area); the app publishes them on Copy and Cut",
  "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.