App change patch

Tool ID: app_change_patch

Purpose and availability

Special mode only: revision-checked staged source replacement; protected supervisor/storage unchanged.

Before invocation

Inspect the current definition and exact version/project binding before invoking. Required fields, enums, bounds and consent fields below are authoritative. Omit no required input and do not invent unavailable values.

Exact input schema

{
  "additionalProperties": false,
  "properties": {
    "change_id": {
      "maxLength": 128,
      "minLength": 1,
      "type": "string"
    },
    "content": {
      "maxLength": 262144,
      "type": "string"
    },
    "expected_revision": {
      "pattern": "^[a-f0-9]{64}$",
      "type": "string"
    },
    "expected_sha256": {
      "pattern": "^[a-f0-9]{64}$",
      "type": [
        "string",
        "null"
      ]
    },
    "path": {
      "maxLength": 256,
      "type": "string"
    }
  },
  "required": [
    "change_id",
    "expected_revision",
    "path",
    "expected_sha256",
    "content"
  ],
  "type": "object"
}

Results, errors and safety

Inspect the structured result and retained IDs/artifacts. Errors, unsupported profiles, missing data and cancellation remain explicit. A successful call grants no human engineering approval. Do not retry inference automatically. See Workflows, History and Project tools.