Table of Contents

Method InvokeAsync

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

InvokeAsync(string, CancellationToken)

Records the call and answers that it was simulated, echoing the arguments. For Testing the agent continues as if the action had been accepted; for DryRun it is told the action is a proposal. Either way nothing happened.

public Task<string> InvokeAsync(string arguments, CancellationToken cancellationToken = default)

Parameters

arguments string

The JSON arguments the model sent.

cancellationToken CancellationToken

A token to cancel the call.

Returns

Task<string>

A JSON object stating the call was simulated.

Share