Type Alias PromptInfo

Source
pub type PromptInfo = Prompt;

Aliased Type§

pub struct PromptInfo {
    pub name: String,
    pub description: Option<String>,
    pub arguments: Option<Vec<PromptArgument>>,
    pub title: Option<String>,
    pub meta: Option<HashMap<String, Value>>,
}

Fields§

§name: String

Intended for programmatic or logical use

§description: Option<String>

Description of what the prompt does

§arguments: Option<Vec<PromptArgument>>

Arguments that the prompt accepts

§title: Option<String>

Intended for UI and end-user contexts

§meta: Option<HashMap<String, Value>>

Metadata field for future extensions