ToolAvailabilityResolution class final
The full resolution of every known tool id against a scope stack.
Constructors
Properties
-
byId
→ Map<
String, ResolvedToolAvailability> -
Decision per known id — covers every id in knownToolIds, including
ids the host does not wire (those are absent
not wired by this host).final -
discoverableIds
→ Set<
String> -
Enabled ids hidden from the schema by the active load mode (issue
#680): discoverable, mountable on demand through the gate. Static
tool ids and
mcp:<server>family ids alike — the card's discoverable set explicitly includes mcp__*. Empty in the default mode (no preset → byte-identical behavior). A discoverable id is NOT disabled: ResolvedToolAvailability.enabled stays true and only the gate's mount state decides visibility.final - hashCode → int
-
The hash code for this object.
no setterinherited
-
mcpServers
→ Map<
String, bool> -
Per-server MCP availability (keyed without the
mcp:prefix): the union ofmcp:<server>keys across scopes, deepest wins. Servers absent from every scope default totrueat the consumer; a mergedmcp: falsekill-switch forces every declared value tofalse.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
unknownIds
→ Set<
String> -
Config ids outside knownToolIds (non-fatal; the caller warns).
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