Table of Contents

Method ReportProgressAsync

Namespace
LMKit.Mcp.Server
Assembly
LM-Kit.NET.dll

ReportProgressAsync(double, double?, string, CancellationToken)

Reports progress for the current call. Does nothing when the caller did not supply a progress token or the host did not install a sink.

public Task ReportProgressAsync(double progress, double? total, string message, CancellationToken cancellationToken = default)

Parameters

progress double

Work completed so far, in the same unit as total.

total double?

Total work when known, otherwise null.

message string

A short description of the current step.

cancellationToken CancellationToken

A token to observe while sending.

Returns

Task
Share