---
title: "file.setInfo: File Info… — Vector kit command — Kition"
description: "Sets the document's File Info metadata (title, author, description, keywords, rating, copyright) in one undo step."
canonical: "https://developer.kition.ai/docs/kits/vector/commands/file.setInfo"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/vector/commands/file.setInfo](https://developer.kition.ai/docs/kits/vector/commands/file.setInfo)

# file.setInfo

**File Info….** Sets the document's File Info metadata (title, author, description, keywords, rating, copyright) in one undo step.

- Kit: Vector 0.1.0 (.kvector); reference: [Vector kit commands](https://developer.kition.ai/docs/kits/vector.md)
- Changes the document: yes

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `author` | `string` | no |  |
| `authorTitle` | `string` | no |  |
| `copyrightNotice` | `string` | no |  |
| `copyrightStatus` | `"unknown" \| "copyrighted" \| "publicDomain"` | no |  |
| `copyrightUrl` | `string` | no |  |
| `description` | `string` | no |  |
| `keywords` | `string[] \| string` | no |  |
| `rating` | `integer` | no |  |
| `title` | `string` | no |  |

## Call through vector_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: `author`, `authorTitle`, `copyrightNotice`, `copyrightStatus`, `copyrightUrl`, `description`, `keywords`, `rating`, `title`. vector_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": {
    "author": {
      "type": "string"
    },
    "authorTitle": {
      "type": "string"
    },
    "copyrightNotice": {
      "type": "string"
    },
    "copyrightStatus": {
      "enum": [
        "unknown",
        "copyrighted",
        "publicDomain"
      ],
      "type": "string"
    },
    "copyrightUrl": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "keywords": {
      "oneOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "string"
        }
      ]
    },
    "rating": {
      "type": "integer"
    },
    "title": {
      "type": "string"
    }
  },
  "returns": "{title, author, authorTitle, description, keywords, rating, copyrightStatus, copyrightNotice, copyrightUrl, created, modified (ISO 8601 UTC or null; read-only), colorMode, units, artboards, objects}",
  "type": "object"
}
```

Generated from the command list of @kition/vector-darwin-arm64@0.1.0 and the kit itself (vector_commands through @kition/cli@0.1.1, built from KitionAI/kition-vector@7cf908f).
