PromptArgument

mcp.schema.PromptArgument
See thePromptArgument companion object
final case class PromptArgument(name: String, description: String, required: Boolean)

Describes an argument that a prompt can accept.

Value parameters

description

A human-readable description of the argument.

name

The name of the argument.

required

Whether this argument must be provided.

Attributes

Companion
object
Source
PromptArgument.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product