pub struct PermissionPromptRequestRead {
pub assisted_approval: Option<PermissionAssistedApproval>,
pub intention: String,
pub kind: PermissionPromptRequestReadKind,
pub managed_approval_required: Option<bool>,
pub path: String,
pub resolved_path: Option<String>,
pub tool_call_id: Option<String>,
}Expand description
File read permission prompt
Fields§
§assisted_approval: Option<PermissionAssistedApproval>Assisted-approval judge information for this request; present only in assisted mode.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
intention: StringHuman-readable description of why the file is being read
kind: PermissionPromptRequestReadKindPrompt kind discriminator
managed_approval_required: Option<bool>Whether managed policy requires a human response and forbids host auto-approval
path: StringPath of the file or directory being read
resolved_path: Option<String>Runtime-resolved canonical path used for authorization identity checks. Internal and experimental; clients should continue to display path.
Experimental. This type is part of an experimental wire-protocol surface and may change or be removed in future SDK or CLI releases.
tool_call_id: Option<String>Tool call ID that triggered this permission request