ClassToolProps
@tsed/platform-mcp
Usage
typescript
import { ClassToolProps } from "@tsed/platform/platform-mcp/src/fn/defineTool";Overview
ts
type ClassToolProps<Input, Output = undefined> = BaseToolProps<Input, Output> & {
name?: string;
token: Type | AbstractType<any>;
propertyKey: string | symbol;
};Description
Configuration accepted when decorating class methods as MCP tools.
name
ts
name?: string;token
ts
token: Type | AbstractType<any>;propertyKey
ts
propertyKey: string | symbol;