Table of Contents

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

Id string

The tool-use id the result must reference.

Name string

The wire name of the tool.

Input JsonElement

The tool input object.

Properties

Id

The tool-use id the result must reference.

public string Id { get; init; }

Property Value

string

Input

The tool input object.

public JsonElement Input { get; init; }

Property Value

JsonElement

Name

The wire name of the tool.

public string Name { get; init; }

Property Value

string