McpPromptArgument interface

Describes a single argument accepted by an MCP prompt.

Properties

description

Optional description of the argument shown to MCP clients.

name

The argument name.

required

Whether the argument is required. Defaults to false.

Property Details

description

Optional description of the argument shown to MCP clients.

description?: string

Property Value

string

name

The argument name.

name: string

Property Value

string

required

Whether the argument is required. Defaults to false.

required?: boolean

Property Value

boolean