PromptArgument constructor

const PromptArgument({
  1. String? alias,
  2. String? title,
  3. String? description,
  4. bool? required,
})

Creates a PromptArgument annotation.

alias - Custom external name for this argument. title - Human-readable title displayed in MCP clients. description - Detailed explanation of the argument's purpose. required - Whether this argument is required (default: inferred from nullability).

Implementation

const PromptArgument({
  this.alias,
  this.title,
  this.description,
  this.required,
});