v2026.4.1
All Bundles

PromptItem

MCP prompt item

Operations

GeTitle

Gets the prompt title

method : public : GeTitle() ~ String

Return

TypeDescription
Stringprompt title

GetArguments

Gets the prompt arguments

method : public : GetArguments() ~ Vector<PromptArgument>

Return

TypeDescription
Vector<PromptArgument>prompt arguments

GetDescription

Gets the prompt description

method : public : GetDescription() ~ String

Return

TypeDescription
Stringprompt description

GetName

Gets the prompt name

method : public : GetName() ~ String

Return

TypeDescription
Stringprompt name

GetUri

Gets the prompt URI

method : public : GetUri() ~ Url

Return

TypeDescription
Urlprompt URI

New

Constructor

New(name:String, uri:Url, title:String, description:String, arguments:Vector<PromptArgument>)

Parameters

NameTypeDescription
nameStringprompt name
uriUrlprompt URI
titleStringprompt title
descriptionStringprompt description
argumentsVector<PromptArgument>prompt arguments

New

Constructor

New(name:String, description:String, arguments:Vector<PromptArgument>)

Parameters

NameTypeDescription
nameStringprompt name
descriptionStringprompt description
argumentsVector<PromptArgument>prompt arguments

New

Constructor

New(name:String, title:String, description:String, arguments:Vector<PromptArgument>)

Parameters

NameTypeDescription
nameStringprompt name
titleStringprompt title
descriptionStringprompt description
argumentsVector<PromptArgument>prompt arguments

New

Constructor

New(name:String)

Parameters

NameTypeDescription
nameStringprompt name

ToJson

Converts to JSON element

method : public : ToJson() ~ JsonElement

Return

TypeDescription
JsonElementJSON element