{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "FileChangeRequestApprovalParams",
  "type": "object",
  "required": [
    "itemId",
    "threadId",
    "turnId"
  ],
  "properties": {
    "grantRoot": {
      "description": "[UNSTABLE] When set, the agent is asking the user to allow writes under this root for the remainder of the session (unclear if this is honored today).",
      "type": [
        "string",
        "null"
      ]
    },
    "itemId": {
      "type": "string"
    },
    "reason": {
      "description": "Optional explanatory reason (e.g. request for extra write access).",
      "type": [
        "string",
        "null"
      ]
    },
    "threadId": {
      "type": "string"
    },
    "turnId": {
      "type": "string"
    }
  }
}