Table of Contents

Method GetResourceCompletionsAsync

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

GetResourceCompletionsAsync(string, string, string, IDictionary<string, object>, CancellationToken)

Gets argument completion suggestions for a resource URI template.

public Task<McpCompletionResult> GetResourceCompletionsAsync(string uriTemplate, string argumentName, string argumentValue, IDictionary<string, object> context = null, CancellationToken cancellationToken = default)

Parameters

uriTemplate string

The URI template to get completions for.

argumentName string

The name of the template argument being completed.

argumentValue string

The current partial value of the argument.

context IDictionary<string, object>

Optional dictionary of other argument values for context.

cancellationToken CancellationToken

A token to cancel the operation.

Returns

Task<McpCompletionResult>

The completion result containing suggestions.