nexus-agents - v2.80.0
    Preparing search index...

    Interface PromptDefinition

    Declarative definition of an MCP prompt template.

    • argsSchema: Zod shape passed to server.registerPrompt
    • buildMessages: produces the message array from validated args
    interface PromptDefinition {
        name: string;
        description: string;
        argsSchema: Record<string, z.ZodType>;
        buildMessages: (
            args: Record<string, string | undefined>,
        ) => readonly PromptMessage[];
    }
    Index

    Properties

    name: string
    description: string
    argsSchema: Record<string, z.ZodType>
    buildMessages: (
        args: Record<string, string | undefined>,
    ) => readonly PromptMessage[]