---
title: "drawing.reconnect: Reconnect Connector — Slide kit command — Kition"
description: "Moves one end of connector `id` to another object's site or to a point."
canonical: "https://developer.kition.ai/docs/kits/slide/commands/drawing.reconnect"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/slide/commands/drawing.reconnect](https://developer.kition.ai/docs/kits/slide/commands/drawing.reconnect)

# drawing.reconnect

**Reconnect Connector.** Moves one end of connector `id` to another object's site or to a point.

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

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `end` | `"start" \| "end"` | no |  |
| `id` | `integer \| string` | no |  |
| `onSlide` | `integer` | no | the slide the ids are on, from 1 |
| `point` | `number[]` | no |  |
| `site` | `integer` | no |  |
| `to` | `integer` | no |  |

## Call through slide_run

```text
slide_run {
  "path": "<file>.pptx",
  "steps": [{ "command": "drawing.reconnect" }]
}
```

The required parameters, with placeholders for their types: not a tested example. Optional: `end`, `id`, `onSlide`, `point`, `site`, `to`. slide_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": {
    "end": {
      "enum": [
        "start",
        "end"
      ],
      "type": "string"
    },
    "id": {
      "oneOf": [
        {
          "type": "integer"
        },
        {
          "type": "string"
        }
      ],
      "x-khp-types": [
        "Shape"
      ]
    },
    "onSlide": {
      "description": "the slide the ids are on, from 1",
      "type": "integer"
    },
    "point": {
      "items": {
        "type": "number"
      },
      "type": "array"
    },
    "site": {
      "type": "integer"
    },
    "to": {
      "type": "integer",
      "x-khp-types": [
        "Shape"
      ]
    }
  },
  "type": "object",
  "x-khp-position": "independent"
}
```

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