PromptArgument constructor
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,
});