---
title: "webExport.presets.save: Save Save for Web Preset — Vector kit command — Kition"
description: "Creates or changes a saved Save for Web preset."
canonical: "https://developer.kition.ai/docs/kits/vector/commands/webExport.presets.save"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/vector/commands/webExport.presets.save](https://developer.kition.ai/docs/kits/vector/commands/webExport.presets.save)

# webExport.presets.save

**Save Save for Web Preset.** Creates or changes a saved Save for Web preset.

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

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `name` | `string` | no |  |
| `newName` | `string` | no |  |
| `preset` | `string` | no |  |
| `reset` | `boolean` | no | read by the command beside its listed parameters |
| `settings` | `object` | no |  |

## Call through vector_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: `name`, `newName`, `preset`, `reset`, `settings`. vector_run answers the step’s result in `completed[i].result`.

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `created` | `any` | no |  |
| `name` | `any` | no |  |
| `settings` | `any` | no |  |

```json
{
  "additionalProperties": true,
  "properties": {
    "created": {},
    "name": {},
    "settings": {}
  },
  "type": "object"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "name": {
      "type": "string"
    },
    "newName": {
      "type": "string"
    },
    "preset": {
      "type": "string"
    },
    "reset": {
      "description": "read by the command beside its listed parameters",
      "type": "boolean"
    },
    "settings": {
      "additionalProperties": true,
      "type": "object"
    }
  },
  "returns": "{name, settings, created}",
  "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).
