---
title: "path.reshape: Reshape — Vector kit command — Kition"
description: "Drags path id at a point by dx, dy as the Reshape tool does, with nearby anchors following on a smooth falloff."
canonical: "https://developer.kition.ai/docs/kits/vector/commands/path.reshape"
---

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

# path.reshape

**Reshape.** Drags path id at a point by dx, dy as the Reshape tool does, with nearby anchors following on a smooth falloff.

- Kit: Vector 0.1.0 (.kvector); reference: [Vector kit commands](https://developer.kition.ai/docs/kits/vector.md)
- Changes the document: yes
- Acts on: `id` (one id), which a run step’s `on` fills

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `dx` | `number` | no |  |
| `dy` | `number` | no |  |
| `id` | `integer` | no | object ID |
| `radius` | `number` | no |  |
| `tol` | `number` | no | points |
| `x` | `number` | no |  |
| `y` | `number` | no |  |

## Call through vector_run

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

The required parameters, with placeholders for their types: not a tested example. Optional: `dx`, `dy`, `id`, `radius`, `tol`, `x`, `y`. 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": {
    "dx": {
      "type": "number"
    },
    "dy": {
      "type": "number"
    },
    "id": {
      "description": "object ID",
      "type": "integer",
      "x-khp-types": [
        "Node"
      ]
    },
    "radius": {
      "type": "number"
    },
    "tol": {
      "default": 3,
      "description": "points",
      "type": "number"
    },
    "x": {
      "type": "number"
    },
    "y": {
      "type": "number"
    }
  },
  "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).
