HostedMcpServerToolRequireSpecificApprovalMode class final
Require approval for specific MCP server tool calls.
This is an experimental feature.
- Inheritance
-
- Object
- HostedMcpServerToolApprovalMode
- HostedMcpServerToolRequireSpecificApprovalMode
Constructors
-
HostedMcpServerToolRequireSpecificApprovalMode({List<
String> ? allowedTools, List<String> ? deniedTools}) -
const
Properties
-
allowedTools
→ List<
String> ? -
Tools that are allowed without approval.
final
-
deniedTools
→ List<
String> ? -
Tools that are denied.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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