PlainTextToolCallFormat enum
Which embedded format produced a PlainTextToolCallBlock.
Values
- bracket → const PlainTextToolCallFormat
-
[toolName]\n{...}\n[END_TOOL_REQUEST]or[toolName]\n{...}\n[/toolName](LMStudio / Mistral / some Llama fine-tunes). - toolCallTag → const PlainTextToolCallFormat
-
<tool_call>{"name": "...", "arguments": {...}}</tool_call>(Hermes-2-Pro, Qwen2.5, NousResearch chat models). - functionCallTag → const PlainTextToolCallFormat
-
<function_call>{"name": "...", "arguments": {...}}</function_call>(some Functionary / OpenAI-mimic fine-tunes). - fencedJson → const PlainTextToolCallFormat
-
```json\n{"name": "...", "arguments": {...}}\n```or```tool_call\n{...}\n```(fenced-block convention). - bareJson → const PlainTextToolCallFormat
-
Bare
{"name": "...", "arguments": {...}}taking up the entire trailing line(s) with no surrounding markup.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - 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
-
values
→ const List<
PlainTextToolCallFormat> - A constant List of the values in this enum, in order of their declaration.