Vector kit command

file.formats

File Formats

Answers every file format the kit can open or write with its extensions and options, plus formats it cannot handle with what to use instead.

Kit
Vector 0.1.0 (.kvector)
Changes the document
no

Parameters

None.

Call through vector_run

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

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

Result

Result of file.formats
NameTypeRequiredDescription
formatsobject[]no
openExtensionsstring[]no
readablestring[]no
unsupportedobject[]no
writablestring[]no
Result JSON Schema
json
{
  "additionalProperties": true,
  "properties": {
    "formats": {
      "items": {
        "additionalProperties": true,
        "properties": {
          "extensions": {
            "type": "array"
          },
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          },
          "mime": {
            "type": "string"
          },
          "options": {
            "additionalProperties": true,
            "type": "object"
          },
          "raster": {
            "type": "boolean"
          },
          "read": {
            "type": "boolean"
          },
          "write": {
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "openExtensions": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "readable": {
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "unsupported": {
      "items": {
        "additionalProperties": true,
        "properties": {
          "extensions": {
            "type": "array"
          },
          "hint": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "label": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    },
    "writable": {
      "items": {
        "type": "string"
      },
      "type": "array"
    }
  },
  "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.