CompleteRequestParams

Parameters for the completion request.

Constructors

Link copied to clipboard
constructor(argument: CompleteRequestParams.Argument, ref: Reference, context: CompleteRequestParams.Context? = null, meta: RequestMeta? = null)

Types

Link copied to clipboard
data class Argument(val name: String, val value: String)

The argument for which completion is being requested.

Link copied to clipboard
data class Context(val arguments: Map<String, String>? = null)

Additional context to help generate more relevant completions.

Properties

Link copied to clipboard

The argument's information for which completion options are requested.

Link copied to clipboard

Additional, optional context for generating completions.

Link copied to clipboard
@SerialName(value = "_meta")
open override val meta: RequestMeta?

The _meta property/parameter is reserved by MCP to allow clients and servers to attach additional metadata to their interactions.

Link copied to clipboard

A reference to either a prompt or resource template to complete within.