10 [AttributeUsage(AttributeTargets.Method, AllowMultiple =
false, Inherited =
true)]
45 string MetaDataKey1,
object MetaDataValue1)
47 new KeyValuePair<string, object>(MetaDataKey1, MetaDataValue1))
68 string MetaDataKey1,
object MetaDataValue1,
69 string MetaDataKey2,
object MetaDataValue2)
71 new KeyValuePair<string, object>(MetaDataKey1, MetaDataValue1),
72 new KeyValuePair<string, object>(MetaDataKey2, MetaDataValue2))
95 string MetaDataKey1,
object MetaDataValue1,
96 string MetaDataKey2,
object MetaDataValue2,
97 string MetaDataKey3,
object MetaDataValue3)
99 new KeyValuePair<string, object>(MetaDataKey1, MetaDataValue1),
100 new KeyValuePair<string, object>(MetaDataKey2, MetaDataValue2),
101 new KeyValuePair<string, object>(MetaDataKey3, MetaDataValue3))
126 string MetaDataKey1,
object MetaDataValue1,
127 string MetaDataKey2,
object MetaDataValue2,
128 string MetaDataKey3,
object MetaDataValue3,
129 string MetaDataKey4,
object MetaDataValue4)
131 new KeyValuePair<string, object>(MetaDataKey1, MetaDataValue1),
132 new KeyValuePair<string, object>(MetaDataKey2, MetaDataValue2),
133 new KeyValuePair<string, object>(MetaDataKey3, MetaDataValue3),
134 new KeyValuePair<string, object>(MetaDataKey4, MetaDataValue4))
161 string MetaDataKey1,
object MetaDataValue1,
162 string MetaDataKey2,
object MetaDataValue2,
163 string MetaDataKey3,
object MetaDataValue3,
164 string MetaDataKey4,
object MetaDataValue4,
165 string MetaDataKey5,
object MetaDataValue5)
167 new KeyValuePair<string, object>(MetaDataKey1, MetaDataValue1),
168 new KeyValuePair<string, object>(MetaDataKey2, MetaDataValue2),
169 new KeyValuePair<string, object>(MetaDataKey3, MetaDataValue3),
170 new KeyValuePair<string, object>(MetaDataKey4, MetaDataValue4),
171 new KeyValuePair<string, object>(MetaDataKey5, MetaDataValue5))
189 params KeyValuePair<string, object>[]
MetaData)
217 public KeyValuePair<string, object>[]
MetaData {
get; }
Defines a method in an HttpMcpServerResource implementation as a recipient of an MCP Server Prompt in...
McpServerPromptAttribute(string Title, string Description, string IconsMethod, params KeyValuePair< string, object >[] MetaData)
Defines a method in an HttpMcpServerResource implementation as a recipient of an MCP Server Prompt in...
McpServerPromptAttribute(string Title, string Description, string IconsMethod, string MetaDataKey1, object MetaDataValue1, string MetaDataKey2, object MetaDataValue2, string MetaDataKey3, object MetaDataValue3, string MetaDataKey4, object MetaDataValue4, string MetaDataKey5, object MetaDataValue5)
Defines a method in an HttpMcpServerResource implementation as a recipient of an MCP Server Prompt in...
McpServerPromptAttribute(string Title, string Description, string IconsMethod, string MetaDataKey1, object MetaDataValue1, string MetaDataKey2, object MetaDataValue2)
Defines a method in an HttpMcpServerResource implementation as a recipient of an MCP Server Prompt in...
KeyValuePair< string, object >[] MetaData
Meta-data associated with prompt.
string Description
A human-readable description of the prompt.
string Title
A human-readable title for the prompt.
McpServerPromptAttribute(string Title, string Description, string IconsMethod, string MetaDataKey1, object MetaDataValue1, string MetaDataKey2, object MetaDataValue2, string MetaDataKey3, object MetaDataValue3, string MetaDataKey4, object MetaDataValue4)
Defines a method in an HttpMcpServerResource implementation as a recipient of an MCP Server Prompt in...
string IconsMethod
Name of method that returns an Icon?, an an Icon[]? or an Icons? resource representing the prompt....
McpServerPromptAttribute(string Title, string Description, string IconsMethod, string MetaDataKey1, object MetaDataValue1, string MetaDataKey2, object MetaDataValue2, string MetaDataKey3, object MetaDataValue3)
Defines a method in an HttpMcpServerResource implementation as a recipient of an MCP Server Prompt in...
McpServerPromptAttribute(string Title, string Description, string IconsMethod, string MetaDataKey1, object MetaDataValue1)
Defines a method in an HttpMcpServerResource implementation as a recipient of an MCP Server Prompt in...
McpServerPromptAttribute(string Title, string Description, string IconsMethod)
Defines a method in an HttpMcpServerResource implementation as a recipient of an MCP Server Prompt in...