AnsightToolDefinition class

Constructors

AnsightToolDefinition({required String id, required String name, String description = '', String category = 'custom', AnsightToolPolicy policy = AnsightToolPolicy.read, List<String> keywords = const <String>[], AnsightJson argumentsSchema = const <String, Object?>{}, AnsightJson resultSchema = const <String, Object?>{}, List<String> prerequisiteToolIds = const <String>[], Duration timeout = const Duration(seconds: 30)})
const

Properties

argumentsSchema → AnsightJson
final
category → String
final
description → String
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
keywords → List<String>
final
name → String
final
policy → AnsightToolPolicy
final
prerequisiteToolIds → List<String>
final
resultSchema → AnsightJson
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
timeout → Duration
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → AnsightJson
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited