MCPToolsetDefaultConfigParams class
Default configuration for MCP toolset tools (request variant).
- Annotations
-
- @immutable
Constructors
- MCPToolsetDefaultConfigParams({bool? enabled, PermissionPolicy? permissionPolicy})
-
Creates an MCPToolsetDefaultConfigParams.
const
-
MCPToolsetDefaultConfigParams.fromJson(Map<
String, dynamic> json) -
Creates an MCPToolsetDefaultConfigParams from JSON.
factory
Properties
- enabled → bool?
-
Whether tools are enabled by default.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- permissionPolicy → PermissionPolicy?
-
Default permission policy for tools from this server.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{Object? enabled = unsetCopyWithValue, Object? permissionPolicy = unsetCopyWithValue}) → MCPToolsetDefaultConfigParams - Creates a copy with replaced values.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts to JSON.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override