GetPromptRequestParams

data class GetPromptRequestParams(val name: String, val arguments: Map<String, String>? = null, val meta: RequestMeta? = null) : RequestParams(source)

Parameters for a prompts/get request.

Constructors

Link copied to clipboard
constructor(name: String, arguments: Map<String, String>? = null, meta: RequestMeta? = null)

Properties

Link copied to clipboard

Optional arguments to use for templating the prompt. Keys are argument names, values are the argument values to substitute.

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

Optional metadata for this request. May include a progressToken for out-of-band progress notifications.

Link copied to clipboard

The name of the prompt or prompt template to retrieve.