pub enum ToolName {
Show 54 variants
ResolveTarget,
Orient,
InspectOrSearch,
SearchAllDatabases,
SearchSchema,
DescribeObject,
GetJoinPath,
SampleValues,
RunSelect,
ExplainQuery,
ListConnections,
ListDatabases,
ListSchemas,
ListObjects,
GetCurrentContext,
SwitchConnection,
GetDdl,
TableStats,
IndexUsage,
ListRunningQueries,
FindBlockingLocks,
SlowQueries,
DbHealthCheck,
GetIndexStatus,
ListExtensions,
ServerSettings,
SuggestIndexes,
FindUnusedIndexes,
BloatReport,
FindMissingFks,
ExportQuery,
ListRoles,
DbDashboard,
DeepPlanAnalysis,
SchemaDiff,
GenerateMigration,
ExecuteSql,
EditRow,
ImportData,
ApplyDdl,
CreateIndexConcurrently,
RunMaintenance,
TerminateQuery,
DiscoverTools,
AutoTuneQuery,
CheckDdlSafety,
RebuildIndex,
RefreshIndex,
RunDoctor,
SetupConnection,
SaveProfile,
TestProfile,
ExportProfile,
ImportProfile,
}Expand description
Read-only tool surface (catalog + index + Phase 4 monitoring/DDL + Phase 4b breadth).
Variants§
ResolveTarget
Orient
InspectOrSearch
SearchAllDatabases
SearchSchema
DescribeObject
GetJoinPath
SampleValues
RunSelect
ExplainQuery
ListConnections
ListDatabases
ListSchemas
ListObjects
GetCurrentContext
SwitchConnection
GetDdl
TableStats
IndexUsage
ListRunningQueries
FindBlockingLocks
SlowQueries
DbHealthCheck
GetIndexStatus
ListExtensions
ServerSettings
SuggestIndexes
FindUnusedIndexes
BloatReport
FindMissingFks
ExportQuery
ListRoles
DbDashboard
DeepPlanAnalysis
SchemaDiff
GenerateMigration
ExecuteSql
EditRow
ImportData
ApplyDdl
CreateIndexConcurrently
RunMaintenance
TerminateQuery
DiscoverTools
AutoTuneQuery
CheckDdlSafety
RebuildIndex
RefreshIndex
RunDoctor
SetupConnection
SaveProfile
TestProfile
ExportProfile
ImportProfile
Implementations§
Source§impl ToolName
impl ToolName
pub const PHASE2: &'static [ToolName]
Sourcepub const PHASE3: &'static [ToolName]
pub const PHASE3: &'static [ToolName]
Index-backed tools (require nexql-mcp index build or rebuild_index).
Sourcepub const PHASE4: &'static [ToolName]
pub const PHASE4: &'static [ToolName]
Phase 4 monitoring / DDL / index-status (+ free advisory tools).
Sourcepub const PHASE4B: &'static [ToolName]
pub const PHASE4B: &'static [ToolName]
Phase 4b read-only breadth (export / roles / dashboard; more tools land here).
Sourcepub const PHASE9: &'static [ToolName]
pub const PHASE9: &'static [ToolName]
Phase 9 write/admin tools (listed always; gated at call time by access mode).
Sourcepub const READ_ONLY: &'static [ToolName]
pub const READ_ONLY: &'static [ToolName]
Read-only subset (Phase 2–4b). Write/admin tools are in ACTIVE but gated at dispatch.
Sourcepub const QUERY_PROFILE: &'static [ToolName]
pub const QUERY_PROFILE: &'static [ToolName]
Subset of tools optimized for context-constrained query & schema exploration tasks.
Sourcepub const DBA_PROFILE: &'static [ToolName]
pub const DBA_PROFILE: &'static [ToolName]
Subset of tools optimized for database administration, performance tuning, and health checks.
Sourcepub const META_PROFILE: &'static [ToolName]
pub const META_PROFILE: &'static [ToolName]
Minimal initial tool surface with discover_tools for lazy tool activation.
pub fn for_profile(profile: ToolProfile) -> &'static [ToolName]
pub fn as_str(self) -> &'static str
pub fn parse(s: &str) -> Option<Self>
Trait Implementations§
impl Copy for ToolName
impl Eq for ToolName
impl StructuralPartialEq for ToolName
Auto Trait Implementations§
impl Freeze for ToolName
impl RefUnwindSafe for ToolName
impl Send for ToolName
impl Sync for ToolName
impl Unpin for ToolName
impl UnsafeUnpin for ToolName
impl UnwindSafe for ToolName
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more