# execute_removal

**Execute confirmed removal** · Destructive, idempotent

Execute exactly one prepared removal only after displaying the plan and receiving explicit user confirmation in chat.

- Supply only its unchanged `plan_reference`.
- No new action arguments or confirmation boolean are accepted.
- Repeat the same reference to recover a committed result without another mutation or charge.
- Changed or expired effects require a new plan and confirmation.

## Input

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `plan_reference` | `string` | Required | Unchanged reference from the exact plan the user confirmed. Pattern `^[A-Za-z0-9_-]{43}$`. |

## Output

Read this object from the result's `structuredContent`. The result's `content` carries a text version for the model, which is not always the same JSON.

Fields of `data`:

| Name | Type | Required |
| --- | --- | --- |
| `operation` | `string` | Required |
| `committed` | `true` | Required |
| `recovered` | `boolean` | Required |
| `outcome` | `object` | Required |


<details>
<summary>Full input and output JSON Schema</summary>

```json
{
  "inputSchema": {
    "type": "object",
    "$schema": "https://json-schema.org/draft/2020-12/schema",
    "properties": {
      "plan_reference": {
        "type": "string",
        "pattern": "^[A-Za-z0-9_-]{43}$",
        "description": "Unchanged reference from the exact plan the user confirmed."
      }
    },
    "required": [
      "plan_reference"
    ],
    "additionalProperties": false
  },
  "outputSchema": {
    "type": "object",
    "required": [
      "data"
    ],
    "properties": {
      "data": {
        "type": "object",
        "required": [
          "operation",
          "committed",
          "recovered",
          "outcome"
        ],
        "properties": {
          "operation": {
            "type": "string"
          },
          "committed": {
            "const": true
          },
          "recovered": {
            "type": "boolean"
          },
          "outcome": {
            "type": "object",
            "additionalProperties": true
          }
        }
      }
    }
  }
}
```

</details>
