Table of Contents

Class Prompt

Namespace
ModelContextProtocol.Protocol.Types
Assembly
ModelContextProtocol.dll

A prompt or prompt template that the server offers. See the schema for details

public class Prompt
Inheritance
Prompt
Inherited Members

Properties

Arguments

A list of arguments to use for templating the prompt.

[JsonPropertyName("arguments")]
public List<PromptArgument>? Arguments { get; set; }

Property Value

List<PromptArgument>

Description

An optional description of what this prompt provides

[JsonPropertyName("description")]
public string? Description { get; set; }

Property Value

string

Name

The name of the prompt or prompt template.

[JsonPropertyName("name")]
public string Name { get; set; }

Property Value

string