toolmark-monorepo / @toolmark/core / ScopeOptions
Interface: ScopeOptions
Defined in: packages/core/src/scope.ts:2
Options for creating a scope (Scope.scope, tm.scope).
Properties
transparent?
optionaltransparent?:boolean
Defined in: packages/core/src/scope.ts:9
true groups tools for when and disposal without adding a name segment: the scope's path is its parent's, so tools keep the names they were given (e.g. server-declared tools).
when?
optionalwhen?:boolean
Defined in: packages/core/src/scope.ts:4
false hides the scope's tools (and its descendants') until setWhen(true).