---
title: "operation.get: Last Operation — Scene kit command — Kition"
description: "Answers the person's last operation (an added object, an edit-mode operation, a confirmed transform) with the values it ran with and its adjustable fields, or null once anything else happened."
canonical: "https://developer.kition.ai/docs/kits/scene/commands/operation.get"
---

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

# operation.get

**Last Operation.** Answers the person's last operation (an added object, an edit-mode operation, a confirmed transform) with the values it ran with and its adjustable fields, or null once anything else happened.

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

## Parameters

None.

## Call through scene_run

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

The required parameters, with placeholders for their types: not a tested example. scene_run answers the step’s result in `completed[i].result`.

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `operation` | `object` | no | null when there is none |

```json
{
  "additionalProperties": true,
  "properties": {
    "operation": {
      "additionalProperties": true,
      "description": "null when there is none",
      "properties": {
        "command": {
          "description": "null for a transform",
          "type": "string"
        },
        "fields": {
          "items": {
            "additionalProperties": true,
            "properties": {
              "key": {
                "type": "string"
              },
              "type": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "type": "array"
        },
        "params": {
          "additionalProperties": true,
          "properties": {},
          "type": "object"
        },
        "title": {
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "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).
