MCPListToolItem class
Constructors
-
MCPListToolItem.new({required Map<
String, dynamic> inputSchema, required String name, Map<String, dynamic> ? annotations, String? description}) -
const
-
MCPListToolItem.fromJson(Map<
String, dynamic> json) -
Factory to parse the wire shape.
factory
Properties
-
annotations
→ Map<
String, dynamic> ? -
Optional free-form annotations.
final
- description → String?
-
Optional human-readable description.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
inputSchema
→ Map<
String, dynamic> -
JSON Schema for the tool’s
arguments
payload.final - name → String
-
Tool identifier used when calling it.
final
- 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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited