PromptItem
MCP prompt item
Operations
GeTitle
Gets the prompt title
method : public : GeTitle() ~ StringReturn
| Type | Description |
|---|---|
| String | prompt title |
GetArguments
Gets the prompt arguments
method : public : GetArguments() ~ Vector<PromptArgument>Return
| Type | Description |
|---|---|
| Vector<PromptArgument> | prompt arguments |
GetDescription
Gets the prompt description
method : public : GetDescription() ~ StringReturn
| Type | Description |
|---|---|
| String | prompt description |
GetName
Gets the prompt name
method : public : GetName() ~ StringReturn
| Type | Description |
|---|---|
| String | prompt name |
New
Constructor
New(name:String, uri:Url, title:String, description:String, arguments:Vector<PromptArgument>)Parameters
| Name | Type | Description |
|---|---|---|
| name | String | prompt name |
| uri | Url | prompt URI |
| title | String | prompt title |
| description | String | prompt description |
| arguments | Vector<PromptArgument> | prompt arguments |
New
Constructor
New(name:String, description:String, arguments:Vector<PromptArgument>)Parameters
| Name | Type | Description |
|---|---|---|
| name | String | prompt name |
| description | String | prompt description |
| arguments | Vector<PromptArgument> | prompt arguments |
New
Constructor
New(name:String, title:String, description:String, arguments:Vector<PromptArgument>)Parameters
| Name | Type | Description |
|---|---|---|
| name | String | prompt name |
| title | String | prompt title |
| description | String | prompt description |
| arguments | Vector<PromptArgument> | prompt arguments |
ToJson
Converts to JSON element
method : public : ToJson() ~ JsonElementReturn
| Type | Description |
|---|---|
| JsonElement | JSON element |