Skip to content

PromptProps

@tsed/platform-mcp

Usage

typescript
import { PromptProps } from "@tsed/platform/platform-mcp/src/fn/definePrompt";

See /packages/platform/platform-mcp/src/fn/definePrompt.ts.

Overview

ts
type PromptProps<Args extends undefined = any> = FnPromptProps<Args> | ClassPromptProps<Args>;

Description

Union of prompt configuration accepted by {@link definePrompt}, supporting both functional and class-based handlers.

Released under the MIT License.