Tool extension type
Definition for a tool the client can call.
Constructors
- Tool.new({required String name, String? description, required ObjectSchema inputSchema, ToolAnnotations? annotations})
-
factory
-
Tool.fromMap(Map<
String, Object?> _value)
Properties
- description → String?
-
A human-readable description of the tool.
no setter
- inputSchema → ObjectSchema
-
A JSON ObjectSchema object defining the expected parameters for the
tool.
no setter
- name → String
-
The name of the tool.
no setter
- toolAnnotations → ToolAnnotations?
-
Optional additional tool information.
no setter