---
title: "bone.add: Add Bone — Scene kit command — Kition"
description: "Adds a bone with head and tail to the armature in edit mode, optionally parented and connected."
canonical: "https://developer.kition.ai/docs/kits/scene/commands/bone.add"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/scene/commands/bone.add](https://developer.kition.ai/docs/kits/scene/commands/bone.add)

# bone.add

**Add Bone.** Adds a bone with head and tail to the armature in edit mode, optionally parented and connected.

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

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `connected` | `boolean` | no | The head sits on the parent's tail |
| `head` | `number[]` | no | Where it starts, in the armature's space (the origin) [x, y, z] |
| `name` | `string` | no | The bone's name (Bone) |
| `parent` | `string` | no | The parent bone |
| `tail` | `number[]` | no | Where it ends (a metre above the head) [x, y, z] |

## Call through scene_run

```text
scene_run {
  "path": "<file>.kscene",
  "steps": [{ "command": "bone.add" }]
}
```

The required parameters, with placeholders for their types: not a tested example. Optional: `connected`, `head`, `name`, `parent`, `tail`. scene_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": {
    "connected": {
      "description": "The head sits on the parent's tail",
      "type": "boolean"
    },
    "head": {
      "description": "Where it starts, in the armature's space (the origin) [x, y, z]",
      "items": {
        "type": "number"
      },
      "type": "array"
    },
    "name": {
      "description": "The bone's name (Bone)",
      "type": "string"
    },
    "parent": {
      "description": "The parent bone",
      "type": "string"
    },
    "tail": {
      "description": "Where it ends (a metre above the head) [x, y, z]",
      "items": {
        "type": "number"
      },
      "type": "array"
    }
  },
  "type": "object"
}
```

Generated from the command list of @kition/scene-darwin-arm64@0.1.0 and the kit itself (scene_commands through @kition/cli@0.1.1, built from KitionAI/kition-scene@4d06faf).
