Table of Contents

Class AgentRunToolCall

Namespace
LMKit.Agents.Runs
Assembly
LM-Kit.NET.dll

One tool call of the round a run stopped in: what the model asked for, whether it waits for an approval, and its result once the call ran. Serialized inside AgentRunState, so a resumed run never runs a call whose result it already holds.

public sealed class AgentRunToolCall
Inheritance
AgentRunToolCall
Inherited Members

Properties

ArgumentsHash

Gets or sets the SHA-256 of ArgumentsJson (lower-case hexadecimal). An approval names the hash it was given, so it can never be applied to other arguments.

ArgumentsJson

Gets or sets the arguments, as JSON.

AwaitingAnswer

Gets or sets whether the call is the question the run waits for the user to answer (AskUserTool).

AwaitingApproval

Gets or sets whether the call waits for an approval decision.

CallId

Gets or sets the call identifier the model's tool call carries.

Name

Gets or sets the tool's name.

ResultJson

Gets or sets the result the call returned, as JSON, once it ran.

ResultType

Gets or sets the outcome of the call once it ran, or null while it has not.

RiskLevel

Gets or sets the risk level the tool declares, when it declares one.

SideEffect

Gets or sets the side effect the tool declares, when it declares one.

Methods

HashArguments(string)

The SHA-256 of a call's arguments, as ArgumentsHash writes it.

Share