Prompt constructor

const Prompt({
  1. String? name,
  2. String? title,
  3. String? description,
})

Creates a Prompt annotation.

name - Optional custom name (defaults to method name). title - Human-readable title displayed in MCP clients. description - Explanation of the prompt's purpose.

Implementation

const Prompt({this.name, this.title, this.description});