Class ToolUseBlock
- Namespace
- Emissary
- Assembly
- Emissary.dll
A tool invocation requested by the model.
public sealed record ToolUseBlock : ContentBlock, IEquatable<ContentBlock>, IEquatable<ToolUseBlock>
- Inheritance
-
ToolUseBlock
- Implements
- Inherited Members
Constructors
ToolUseBlock(string, string, JsonElement)
A tool invocation requested by the model.
public ToolUseBlock(string Id, string Name, JsonElement Input)
Parameters
IdstringThe tool-use id the result must reference.
NamestringThe wire name of the tool.
InputJsonElementThe tool input object.
Properties
Id
The tool-use id the result must reference.
public string Id { get; init; }
Property Value
Input
The tool input object.
public JsonElement Input { get; init; }
Property Value
Name
The wire name of the tool.
public string Name { get; init; }