Table of Contents

Method InvokeAsync

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

InvokeAsync(string, CancellationToken)

Invokes the delegation tool with the specified arguments.

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

Parameters

arguments string

JSON arguments containing agent, task, and optional context.

cancellationToken CancellationToken

Cancellation token.

Returns

Task<string>

JSON result from the delegate agent.