Prompt extension type
A prompt or prompt template that the server offers.
- on
- Implemented types
Constructors
-
Prompt.new({required String name, String? title, String? description, List<
PromptArgument> ? arguments}) -
factory
-
Prompt.fromMap(Map<
String, Object?> _value)
Properties
-
arguments
→ List<
PromptArgument> ? -
A list of arguments to use for templating the prompt.
no setter
- description → String?
-
An optional description of what this prompt provides.
no setter
- name → String
-
Intended for programmatic or logical use, but used as a display name in
past specs for fallback (if title isn't present).
no setterinherited
- title → String?
-
A short title for this object.
no setterinherited