ToolScope enum

Inheritance
Available extensions

Values

internal → const ToolScope

Internal-only — used by the host UI / wiring. Never exposed on any MCP transport. Example: _inspect_agent_state that opens an agent's private memory dump for the local debugger pane.

external → const ToolScope

Default. Exposed on every transport — external clients (Claude Desktop, AppPlayer, other MCP hosts) can call these. Project / canonical / build / chat ops live here.

debug → const ToolScope

Surfaced only when the host launches with debugMode: true. Builder-self diagnostics — token usage histograms, prompt transcripts, queue depths, last-N raw LLM responses, etc. Hosts and trusted external LLMs share these for in-loop debugging without polluting the production tool surface.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

values → const List<ToolScope>
A constant List of the values in this enum, in order of their declaration.