Bundle MCP server support (-lib net_server)
PromptArgument
MCP prompt argument
Operations
GetCode #
Gets the argument code
method : public : GetCode() ~ StringReturn
| Type | Description |
|---|---|
| String | argument code |
GetDescription #
Gets the argument description
method : public : GetDescription() ~ StringReturn
| Type | Description |
|---|---|
| String | argument description |
GetName #
Gets the argument name
method : public : GetName() ~ StringReturn
| Type | Description |
|---|---|
| String | argument name |
IsRequired #
Checks if argument is required
method : public : IsRequired() ~ BoolReturn
| Type | Description |
|---|---|
| Bool | true if required, false otherwise |
New # constructor
Constructor
New(name:String, description:String, required:Bool)Parameters
| Name | Type | Description |
|---|---|---|
| name | String | argument name |
| description | String | argument description |
| required | Bool | true if required, false otherwise |
New # constructor
Constructor
New(name:String, description:String, code:String, required:Bool)Parameters
| Name | Type | Description |
|---|---|---|
| name | String | argument name |
| description | String | argument description |
| code | String | argument code |
| required | Bool | true if required, false otherwise |
ToJson #
Converts to JSON element
method : public : ToJson() ~ JsonElementReturn
| Type | Description |
|---|---|
| JsonElement | JSON element |