Skip to content

PromptDecoratorOptions

@tsed/platform-mcp

Usage

typescript
import { PromptDecoratorOptions } from "@tsed/platform/platform-mcp/src/decorators/prompt";

See /packages/platform/platform-mcp/src/decorators/prompt.ts.

Overview

ts
type PromptDecoratorOptions = Omit<PromptProps, "handler">;

Description

Options accepted by {@link Prompt} when decorating a class method. Matches {@link PromptProps} minus the handler reference.

Released under the MIT License.