Skip to content

ClassToolProps

@tsed/cli-mcp

Usage

typescript
import { ClassToolProps } from "@tsed/cli-mcp/src/fn/defineTool";

See /packages/cli-mcp/src/fn/defineTool.ts.

Overview

ts
type ClassToolProps<Input, Output = undefined> = BaseToolProps<Input, Output> & {
    name?: string;
    token: Type | AbstractType<any>;
    propertyKey: string | symbol;
};

name

ts
name?: string;

token

ts
token: Type | AbstractType<any>;

propertyKey

ts
propertyKey: string | symbol;

Released under the MIT License.