PermissionOptions class

Structured permission request options sent to a provider.

Constructors

PermissionOptions({required String title, required String rationale, required List<String> options, required String sessionId, required String toolName, String? toolKind})
Create options describing the tool and choices.

Properties

hashCode → int
The hash code for this object.
no setterinherited
options → List<String>
Display-only option names provided by the agent.
final
rationale → String
Rationale for the permission request.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sessionId → String
Owning session identifier.
final
title → String
Display title of the permission prompt.
final
toolKind → String?
Tool kind (read/edit/execute/etc), if provided.
final
toolName → String
Agent-provided tool name.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited