v2026.6.4
All Bundles
Bundle MCP server support (-lib net_server)

PromptArgument

MCP prompt argument

Operations

GetCode #

Gets the argument code

method : public : GetCode() ~ String

Return

TypeDescription
Stringargument code

GetDescription #

Gets the argument description

method : public : GetDescription() ~ String

Return

TypeDescription
Stringargument description

GetName #

Gets the argument name

method : public : GetName() ~ String

Return

TypeDescription
Stringargument name

IsRequired #

Checks if argument is required

method : public : IsRequired() ~ Bool

Return

TypeDescription
Booltrue if required, false otherwise

New # constructor

Constructor

New(name:String, description:String, required:Bool)

Parameters

NameTypeDescription
nameStringargument name
descriptionStringargument description
requiredBooltrue if required, false otherwise

New # constructor

Constructor

New(name:String, description:String, code:String, required:Bool)

Parameters

NameTypeDescription
nameStringargument name
descriptionStringargument description
codeStringargument code
requiredBooltrue if required, false otherwise

ToJson #

Converts to JSON element

method : public : ToJson() ~ JsonElement

Return

TypeDescription
JsonElementJSON element