ResolvedToolAvailability class final

The availability decision for one tool id.

Constructors

ResolvedToolAvailability({required bool enabled, required ToolScope scope, required bool capabilityPresent, String? reason})
Creates a decision.
const

Properties

capabilityPresent → bool
Whether the host can provide the tool at all.
final
enabled → bool
Whether the tool should be registered and offered to the model.
final
hashCode → int
The hash code for this object.
no setterinherited
reason → String?
Machine-readable why-disabled: the capability's absent reason, or disabled by <scope name>. null when enabled.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scope → ToolScope
Where the winning decision came from: ToolScope.builtin when the capability decided (or nothing did), otherwise the scope of the winning config intent.
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