Table of Contents

Class PromptMetadata

Namespace
nanoFramework.WebServer.Mcp
Assembly
nanoFramework.WebServer.Mcp.dll

Represents metadata information for a prompt, including its name, description and associated method.

public class PromptMetadata
Inheritance
PromptMetadata
Inherited Members
Extension Methods

Constructors

PromptMetadata()

public PromptMetadata()

Properties

Arguments

Gets or sets JSON schema respresentniog the arguments for the prompt.

public string Arguments { get; set; }

Property Value

string

Description

Gets or sets the description of the prompt.

public string Description { get; set; }

Property Value

string

Method

Gets or sets the MethodInfo representing the method associated with the prompt.

public MethodInfo Method { get; set; }

Property Value

MethodInfo

Name

Gets or sets the unique name of the prompt.

public string Name { get; set; }

Property Value

string

Methods

ToString()

Returns a JSON string representation of the prompt metadata.

public override string ToString()

Returns

string

A JSON string containing the prompt's name, description schema.