TrajectoryToolManifestEntry class final

One tool of a manifest blob: the manifest is exactly what the tools array of the request carried (F2).

Constructors

TrajectoryToolManifestEntry({required String name, required String description, required String schemaJson, required int schemaChars, required bool schemaTruncated})
Creates a manifest entry.
const
TrajectoryToolManifestEntry.fromJson(Map<String, dynamic> json)
Deserializes from a JSON map produced by toJson.
factory
TrajectoryToolManifestEntry.of(Tool tool)
The entry for tool.
factory

Properties

description String
The tool's description, whole.
final
hashCode int
The hash code for this object.
no setterinherited
name String
The tool's name.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
schemaChars int
Original schema size in characters.
final
schemaJson String
Pretty-printed JSON Schema, bounded to toolSchemaMaxChars (E3: an oversized or unparseable schema degrades to a bounded placeholder, never a crash).
final
schemaTruncated bool
Whether schemaJson was cut at the bound.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes to a JSON map.
toString() String
A string representation of this object.
inherited

Operators

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