ToolAnnotationKeys class
Standard tool annotation keys defined in MCP 2025-03-26
Constructors
Properties
- 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
Constants
- category → const String
- Tool category for organization
- deprecated → const String
- Tool deprecation information
- destructive → const String
- Indicates if the tool performs destructive operations
- estimatedDuration → const String
- Estimated execution time in seconds
- examples → const String
- Usage examples or documentation links
- experimental → const String
- Whether the tool is experimental
- minApiVersion → const String
- Minimum required API version
- priority → const String
- Tool priority level
- readOnly → const String
- Indicates if the tool only reads data and doesn't modify anything
- requiredPermissions → const String
- Required permissions or scopes
- requiresConfirmation → const String
- Indicates if the tool requires user confirmation before execution
- resourceUsage → const String
- Resource consumption hints
- supportsCancellation → const String
- Indicates if the tool supports cancellation
- supportsProgress → const String
- Indicates if the tool supports progress reporting