# item.split

> Splits an item into two at a timeline frame.

Source: https://alexgalhardo.github.io/vukem-video/pt-br/docs/reference/commands/item.split

The original item keeps its id and becomes the left part; a new item is the right part. Transitions, fades, keyframes and caption words are divided so that the motion is unchanged.

## Arguments

| Argument | Type | Required | Description |
| --- | --- | --- | --- |
| `at` | `string` | yes | Absolute position strictly inside the item. |
| `item_id` | `string` | yes |  |
| `new_id` | `string` | no | The id of the right part. |

## Example

As one operation of an `edit` batch (the `edit` tool of MCP, `vukem-video edit --ops`, or `POST /api/v1/projects/{id}/edit`):

```json
{
  "op": "item.split",
  "args": {
    "at": "97f",
    "item_id": "itm_m1n2p3q4r5",
    "new_id": "itm_s6t7v8w9x0"
  }
}
```

## Errors

[`E_VALIDATION`](/docs/reference/error-codes#e_validation), [`E_INVALID_TIME`](/docs/reference/error-codes#e_invalid_time), [`E_NOT_FOUND`](/docs/reference/error-codes#e_not_found), [`E_INVALID_STATE`](/docs/reference/error-codes#e_invalid_state), [`E_ID_EXISTS`](/docs/reference/error-codes#e_id_exists), [`E_LIMIT`](/docs/reference/error-codes#e_limit)

## Scope and phase

Scope `edit`, phase `prototype`. Run `vukem-video command:help item.split` for the same description from the binary.
